GithubAuthProvider class

Inheritance

Constructors

GithubAuthProvider()
Creates a new GithubAuthProvider.
factory
GithubAuthProvider.fromJsObject(GithubAuthProviderJsImpl jsObject)
Creates a new GithubAuthProvider from a jsObject.

Properties

hashCode int
The hash code for this object.
no setterinherited
jsObject → GithubAuthProviderJsImpl
JS object.
finalinherited
providerId String
Provider id.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addScope(String scope) GithubAuthProvider
Adds additional OAuth 2.0 scopes that you want to request from the authentication provider.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCustomParameters(Map<String, dynamic> customOAuthParameters) GithubAuthProvider
Sets the OAuth custom parameters to pass in a GitHub OAuth request for popup and redirect sign-in operations. Valid parameters include 'allow_signup'. For a detailed list, check the GitHub documentation. Reserved required OAuth 2.0 parameters such as 'client_id', 'redirect_uri', 'scope', 'response_type' and 'state' are not allowed and ignored.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

PROVIDER_ID String
getter/setter pair

Static Methods

credential(String token) OAuthCredential
Creates a credential for GitHub.