GithubAuthProvider class

Provider for GitHub authentication.

This class provides credentials for GitHub sign-in.

Inheritance

Constructors

GithubAuthProvider()
Constructs a GithubAuthProvider with providerId 'github'.

Properties

hashCode → int
The hash code for this object.
no setterinherited
providerId → String
The provider ID.
finalinherited
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
toString() → String
Returns a string representation of the provider.
inherited

Operators

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

Static Properties

GITHUB_SIGN_IN_METHOD ↔ String
The sign-in method for GitHub.
getter/setter pair
PROVIDER_ID ↔ String
The provider ID for GitHub.
getter/setter pair

Static Methods

credential({String? idToken, String? accessToken}) → GithubAuthCredential
Creates a GithubAuthCredential.