SignInInitParameters class Null safety

The parameters to use when initializing the sign in process.

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

Annotations

Constructors

SignInInitParameters({List<String> scopes = const <String>[], SignInOption signInOption = SignInOption.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.
read-only, inherited
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.
read-only, inherited
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 SignInOption
The user experience to use when signing in. SignInOption.games is only supported on Android.
final

Methods

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

Operators

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