SocialSignInSite class abstract
Constructor for sign in
- Implementers
Constructors
Properties
- clientId ↔ String
-
getter/setter pair
- clientSecret ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageInfo ↔ SocialSignInPageInfo
-
getter/setter pair
- redirectUrl ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope ↔ String
-
getter/setter pair
- stateCode ↔ String
-
getter/setter pair
Methods
-
authUrl(
) → String -
customStateCode(
) → String? -
exchangeAccessToken(
String authorizationCode) → Future< SocialSignInResultInterface> - To exchange an authorization code for an access token
-
generateNonce(
[int length = 32]) → String -
generateString(
[int length = 32, String charset = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890']) → String -
handleResponseBodyFail(
Map< String, dynamic> body) → Exception - The error will be thrown when the token exchange fails.
-
handleUnSuccessCodeFail(
Response response) → Exception - The error will be thrown when the token exchange fails.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signIn(
BuildContext context) → Future< SocialSignInResultInterface> - Default signIn with webView flow
-
signInWithWebView(
BuildContext context) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited