GoogleSignInTizen class
Tizen implementation of GoogleSignInPlatform
.
- Inheritance
-
- Object
- PlatformInterface
- GoogleSignInPlatform
- GoogleSignInTizen
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMock → bool
-
Only mock implementations should set this to
true
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userDataEvents
→ Stream<
GoogleSignInUserData?> ? -
Returns a stream of
GoogleSignInUserData
authentication events.no setterinherited
Methods
-
canAccessScopes(
List< String> scopes, {String? accessToken}) → Future<bool> -
Checks if the current user has granted access to all the specified
scopes
.inherited -
clearAuthCache(
{String? token}) → Future< void> -
Clears any cached information that the plugin may be holding on to.
override
-
disconnect(
) → Future< void> -
Revokes all of the scopes that the user granted.
override
-
getTokens(
{required String email, bool? shouldRecoverAuth = true}) → Future< GoogleSignInTokenData> -
Returns the Tokens used to authenticate other API calls.
override
-
init(
{List< String> scopes = const <String>[], SignInOption signInOption = SignInOption.standard, String? hostedDomain, String? clientId}) → Future<void> -
Initializes the plugin. Deprecated: call initWithParams instead.
override
-
initWithParams(
SignInInitParameters params) → Future< void> -
Initializes the plugin with specified
params
. You must call this method before calling other methods.inherited -
isSignedIn(
) → Future< bool> -
Returns whether the current user is currently signed in.
override
-
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
.override -
signIn(
) → Future< GoogleSignInUserData?> -
Signs in the user with the options specified to init.
override
-
signInSilently(
) → Future< GoogleSignInUserData?> -
Attempts to reuse pre-existing credentials to sign in again, without user interaction.
override
-
signOut(
) → Future< void> -
Signs out the current account from the application.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
Gets the GlobalKey that identifies a
NavigatorState
.getter/setter pair
Static Methods
-
register(
) → void -
Registers this class as the default instance of
GoogleSignInPlatform
. -
setCredentials(
{required String clientId, required String clientSecret}) → void -
Sets
clientId
andclientSecret
to be used for GoogleSignIn authentication.