PlatformAppleIdSignIn class

The AppleIdSignIn of iOS and macOS, on the plugin's ASAuthorizationAppleIDProvider request.

The app needs the "Sign in with Apple" capability (the com.apple.developer.applesignin entitlement, added in Xcode under Signing & Capabilities), and the device an Apple Account; without them the sheet fails (failed).

Implemented types

Constructors

PlatformAppleIdSignIn()
The sheet of the current platform.
const

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signIn({required Set<String> scopes, required String nonce, required String state}) → Future<AppleIdCredential>
Opens the sheet for scopes (name, email), with nonce (sent as given; Apple puts it into the identity token) and state.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

isSupported → bool
Whether the current platform has the sheet: iOS and macOS.
no setter