AuthChangeEvent
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.auth/AuthChangeEvent
AuthChangeEvent
Section titled “AuthChangeEvent”[jvm]
enum class AuthChangeEvent : Enum<AuthChangeEvent>
Auth state change events. Port of AuthChangeEvent from sdk/src/types.ts:2374.
Emitted via client.auth.authStateChanges (a Kotlin Flow) whenever the session changes. The TS SDK uses onAuthStateChange(callback); in Kotlin we expose the same events as a Flow for coroutine-native consumption.
Entries
Section titled “Entries”Companion properties
Section titled “Companion properties”| Name | Summary |
|---|---|
| entries | [jvm] val entries: EnumEntries<AuthChangeEvent> Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they’re declared. |
Companion functions
Section titled “Companion functions”| Name | Summary |
|---|---|
| valueOf | [jvm] fun valueOf(value: String): AuthChangeEvent Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| values | [jvm] fun values(): Array<AuthChangeEvent> Returns an array containing the constants of this enum type, in the order they’re declared. |
Properties
Section titled “Properties”| Name | Summary |
|---|---|
| name | [jvm] val name: String |
| ordinal | [jvm] val ordinal: Int |