SignInWithApplePlatform class abstract

The interface that implementations of sign_in_with_apple must implement.

Platform implementations should extend this class rather than implement it as sign_in_with_apple does not consider newly added methods to be breaking changes. Extending this class (using extends) ensures that the subclass will get the default implementation, while platform implementations that implements this interface will be broken by newly added SignInWithApplePlatform methods.

Inheritance
  • Object
  • PlatformInterface
  • SignInWithApplePlatform
Implementers

Constructors

SignInWithApplePlatform()
Constructs a SignInWithApplePlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAppleIDCredential({required List<AppleIDAuthorizationScopes> scopes, WebAuthenticationOptions? webAuthenticationOptions, String? nonce, String? state}) Future<AuthorizationCredentialAppleID>
getCredentialState(String userIdentifier) Future<CredentialState>
getKeychainCredential() Future<AuthorizationCredentialPassword>
isAvailable() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance SignInWithApplePlatform
The default instance of SignInWithApplePlatform to use.
getter/setter pair