AppleSignInWindows class

Inheritance

Constructors

AppleSignInWindows({required String clientId, required String redirectUrl, required String hostUrl, String scope = ""})
AppleSignInWindows.fromProfile(AppleSignInConfig config)
Parameters required for web-based authentication flows
factory

Properties

clientId String
Apple App Id The developer's client identifier, as provided by WWDR (Worldwide Developer Relations)
getter/setter pairinherited
clientSecret String
Apple APP Secret
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hostUrl String
getter/setter pair
pageInfo SocialSignInPageInfo
getter/setter pairinherited
redirectUrl String
Apple App's Redirect Url The URI to which the authorization redirects. It must include a domain name, and can't be an IP address or localhost.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String
Apple Permissions The amount of user information requested from Apple. Valid values are named and email. You can request one, both, or none.
getter/setter pairinherited
scopes List<AppleIDAuthorizationScopes>
finalinherited
stateCode String
getter/setter pairinherited

Methods

authUrl() String
override
buildState({int p = 0}) String
inherited
customStateCode() String?
inherited
exchangeAccessToken(String authorizationCode) Future<SocialSignInResultInterface>
To exchange an authorization code for an access token
inherited
generateNonce([int length = 32]) String
inherited
generateString([int length = 32, String charset = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890']) String
inherited
handleResponseBodyFail(Map<String, dynamic> body) Exception
The error will be thrown when the token exchange fails.
inherited
handleUnSuccessCodeFail(Response response) Exception
The error will be thrown when the token exchange fails.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sha256ofString(String input) String
Returns the sha256 hash of input in hex notation.
inherited
signIn(BuildContext context) Future<SocialSignInResultInterface>
Request credential for the currently signed in Apple account.
override
signInWithWebView(BuildContext context) Future
inherited
toString() String
A string representation of this object.
inherited

Operators

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