CredentialSelectBy enum

Represents how a credential was selected.

Inheritance
Available extensions

Values

auto → const CredentialSelectBy

Automatic sign-in of a user with an existing session who had previously granted consent to share credentials.

const CredentialSelectBy('auto')
user → const CredentialSelectBy

A user with an existing session who had previously granted consent pressed the One Tap 'Continue as' button to share credentials.

const CredentialSelectBy('user')
user_1tap → const CredentialSelectBy

A user with an existing session pressed the One Tap 'Continue as' button to grant consent and share credentials. Applies only to Chrome v75 and higher.

const CredentialSelectBy('user_1tap')
user_2tap → const CredentialSelectBy

A user without an existing session pressed the One Tap 'Continue as' button to select an account and then pressed the Confirm button in a pop-up window to grant consent and share credentials. Applies to non-Chromium based browsers.

const CredentialSelectBy('user_2tap')
btn → const CredentialSelectBy

A user with an existing session who previously granted consent pressed the Sign In With Google button and selected a Google Account from 'Choose an Account' to share credentials.

const CredentialSelectBy('btn')
btn_confirm → const CredentialSelectBy

A user with an existing session pressed the Sign In With Google button and pressed the Confirm button to grant consent and share credentials.

const CredentialSelectBy('btn_confirm')
btn_add_session → const CredentialSelectBy

A user without an existing session who previously granted consent pressed the Sign In With Google button to select a Google Account and share credentials.

const CredentialSelectBy('btn_add_session')
btn_confirm_add_session → const CredentialSelectBy

A user without an existing session first pressed the Sign In With Google button to select a Google Account and then pressed the Confirm button to consent and share credentials.

const CredentialSelectBy('btn_confirm_add_session')
fedcm → const CredentialSelectBy

A user with an existing session used the browser's "FedCM" flow.

const CredentialSelectBy('fedcm')
fedcm_auto → const CredentialSelectBy

A fedcm authentication without user intervention.

const CredentialSelectBy('fedcm_auto')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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.
override

Operators

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

Constants

values → const List<CredentialSelectBy>
A constant List of the values in this enum, in order of their declaration.