Authenticated

data class Authenticated(val session: UserSession, val source: SessionSource = SessionSource.Unknown) : SessionStatus(source)

This status means that Auth holds a valid session

Parameters

session

The session

source

The source of the session

Constructors

Link copied to clipboard
constructor(session: UserSession, source: SessionSource = SessionSource.Unknown)

Properties

Link copied to clipboard

Whether the session is new, i.e. source is SessionSource.SignIn, SessionSource.SignUp or SessionSource.External. Use this to determine whether this status is the result of a new sign in or sign up or just a session refresh.

Link copied to clipboard
Link copied to clipboard