We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ed771 commit d452998Copy full SHA for d452998
aws-auth-cognito/src/main/java/com/amplifyframework/auth/cognito/data/LegacyKeyProvider.kt
@@ -73,7 +73,6 @@ internal object LegacyKeyProvider {
73
return Result.failure(CredentialStoreError("Failed to connect to KeyStore"))
74
}
75
76
-
77
val key: Key? = keyStore.getKey(keyAlias, null)
78
return if (key != null) {
79
Result.success(key)
@@ -90,7 +89,7 @@ internal object LegacyKeyProvider {
90
89
91
try {
92
keyStore.deleteEntry(keyAlias)
93
- } catch(exception: Exception) {
+ } catch (exception: Exception) {
94
// KeyStore unreachable
95
96
0 commit comments