IGoogleAuthDelegate class abstract
Constructors
Properties
- currentUser → IGoogleSignInAccount?
-
The currently signed in account, or null if the user is signed out.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onCurrentUserChanged
→ Stream<
IGoogleSignInAccount?> -
Subscribe to this stream to be notified when the current user changes.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canAccessScopes(
List< String> scopes, {String? accessToken}) → Future<bool> -
Checks if the current user has granted access to all the specified
scopes
. -
disconnect(
) → Future< IGoogleSignInAccount?> - Disconnects the current user from the app and revokes previous authentication.
-
isSignedIn(
) → Future< bool> - Returns a future that resolves to whether a user is currently signed in.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestScopes(
List< String> scopes) → Future<bool> -
Requests the user grants additional Oauth
scopes
. -
signIn(
) → Future< IGoogleSignInAccount?> - Starts the interactive sign-in process.
-
signInSilently(
{bool suppressErrors = true, bool reAuthenticate = false}) → Future< IGoogleSignInAccount?> - Attempts to sign in a previously authenticated user without interaction.
-
signOut(
) → Future< IGoogleSignInAccount?> - Marks current user as being in the signed out state.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited