IGoogleSignInInitParameters class

The parameters to use when initializing the sign in process.

See: https://developers.google.com/identity/sign-in/web/reference#gapiauth2initparams

Annotations

Constructors

IGoogleSignInInitParameters({List<String> scopes = const <String>[], IGoogleSignInOption signInOption = IGoogleSignInOption.standard, String? hostedDomain, String? clientId, String? serverClientId, bool forceCodeForRefreshToken = false})
The parameters to use when initializing the sign in process.
const

Properties

clientId String?
The OAuth client ID of the app.
final
forceCodeForRefreshToken bool
If true, ensures the authorization code can be exchanged for an access token.
final
hashCode int
The hash code for this object.
no setterinherited
hostedDomain String?
Restricts sign in to accounts of the user in the specified domain. By default, the list of accounts will not be restricted.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>
The list of OAuth scope codes to request when signing in.
final
serverClientId String?
The OAuth client ID of the backend server.
final
signInOption IGoogleSignInOption
The user experience to use when signing in. IGoogleSignInOption.games is only supported on Android.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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