getKeychainCredential static method

Future<AuthorizationCredentialPassword> getKeychainCredential()

Returns the credentials stored in the Keychain for the website associated with the current app.

Only available on Apple platforms.

Throws a SignInWithAppleException exception when no credentials have been found in the Keychain.

Implementation

static Future<AuthorizationCredentialPassword> getKeychainCredential() async {
  return SignInWithApplePlatform.instance.getKeychainCredential();
}