sign_in_with_apple_js library Null safety

Classes

AuthI
The interface used to authenticate a user.
AuthorizationI
An object that contains a user’s authorization information.
ClientConfigI
An object that contains a user’s configuration information.
NameI
An object that contains the user’s full name.
SignInErrorI
An object that contains error information.
SignInResponseI
An object that contains the response to a sign-in request.
UserI
An object that contains the user’s name and email address.

Properties

auth AuthI
A reference to the AppleID.auth object
@JS(), read-only

Functions

initSignInWithApple(ClientConfigI options) → void
Initialize Sign in with Apple JS using a configuration object
listenAppleIDSignInOnFailure(void callback(dynamic)) StreamSubscription
Listen to the failure event from Sign in with Apple JS
listenAppleIDSignInOnSuccess(void callback(dynamic)) StreamSubscription
Listen to the success event from Sign in with Apple JS
signInWithApple() Future<SignInResponseI>
Calls the JS interop for AppleID.auth.signIn() and translates the returned Javascript Promise into a Dart Future.