TokenClientConfig class abstract
The configuration object for the initTokenClient
method.
Data type: TokenClientConfig https://developers.google.com/identity/oauth2/web/reference/js-reference#TokenClientConfig
- Annotations
-
- @JS()
- @anonymous
- @staticInterop
Constructors
-
TokenClientConfig.new({required String client_id, required TokenClientCallbackFn callback, required List<
String> scope, bool? include_granted_scopes, String? prompt, bool? enable_granular_consent, @Deprecated('Use `enable_granular_consent` instead.') bool? enable_serial_consent, String? login_hint, String? hd, String? state, ErrorCallbackFn? error_callback}) -
Constructs a TokenClientConfig object in JavaScript.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited