SessionSource

Types

Link copied to clipboard

The session was loaded from an anonymous sign in

Link copied to clipboard
data object External : SessionSource

The session comes from an external source, e.g. OAuth via deep links.

Link copied to clipboard
data class Refresh(val oldSession: UserSession) : SessionSource

The session was refreshed

Link copied to clipboard
data class SignIn(val provider: AuthProvider<*, *>) : SessionSource

The session was loaded from a sign in

Link copied to clipboard
data class SignUp(val provider: AuthProvider<*, *>) : SessionSource

The session was loaded from a sign-up (only if auto-confirm is enabled)

Link copied to clipboard
data object Storage : SessionSource

The session was loaded from storage

Link copied to clipboard
data object Unknown : SessionSource

The session comes from an unknown source

Link copied to clipboard
data class UserChanged(val oldSession: UserSession) : SessionSource

The session was changed due to a user change (e.g. via Auth.updateUser or Auth.retrieveUserForCurrentSession)

Link copied to clipboard
data class UserIdentitiesChanged(val oldSession: UserSession) : SessionSource

The session was changed due to a user identity change (e.g. via Auth.linkIdentity or Auth.unlinkIdentity)