GoogleAuthProvider class

Provider for Google authentication.

This class provides credentials for Google sign-in.

Inheritance

Constructors

GoogleAuthProvider()
Constructs a GoogleAuthProvider with providerId 'google'.

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

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

Static Methods

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