KeycloakEventType enum Null safety

Inheritance

Constructors

KeycloakEventType()
const

Values

onAuthError → const KeycloakEventType

Called if there was an error during authentication.

const KeycloakEventType(0)
onAuthLogout → const KeycloakEventType

Called if the user is logged out (will only be called if the session status iframe is enabled, or in Cordova mode).

const KeycloakEventType(1)
onAuthRefreshError → const KeycloakEventType

Called if there was an error while trying to refresh the token.

const KeycloakEventType(2)
onAuthRefreshSuccess → const KeycloakEventType

Called when the token is refreshed

const KeycloakEventType(3)
onAuthSuccess → const KeycloakEventType

Called when a user is successfully authenticated.

const KeycloakEventType(4)
onReady → const KeycloakEventType

Called when the adapter is initialized.

const KeycloakEventType(5)
onTokenExpired → const KeycloakEventType

Called when the access token is expired. If a refresh token is available the token can be refreshed with updateToken, or in cases where it is not (that is, with implicit flow) you can redirect to login screen to obtain a new access token.

const KeycloakEventType(6)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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

Constants

values → const List<KeycloakEventType>
A constant List of the values in this enum, in order of their declaration.
[onAuthError, onAuthLogout, onAuthRefreshError, onAuthRefreshSuccess, onAuthSuccess, onReady, onTokenExpired]