GitHubSignInDesktop class

Inheritance

Constructors

GitHubSignInDesktop({required String clientId, required String clientSecret, required String redirectUrl, required String scope})
GitHubSignInDesktop.fromProfile(GitHubSignInConfig config)
factory

Properties

clientId ↔ String
getter/setter pairinherited
clientSecret ↔ String
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
pageInfo ↔ SocialSignInPageInfo
getter/setter pairinherited
redirectUrl ↔ String
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope ↔ String
getter/setter pairinherited
stateCode ↔ String
getter/setter pairinherited

Methods

authUrl() → 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
signIn(BuildContext context) → Future<SocialSignInResultInterface>
Default signIn with webView flow
inherited
signInWithWebView(BuildContext context) → Future
override
toString() → String
A string representation of this object.
inherited

Operators

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