DittoAuthenticationStatus

data class DittoAuthenticationStatus(isAuthenticated: Boolean, userId: String?)

Provides info about the authentication status.

Constructors

DittoAuthenticationStatus
Link copied to clipboard
fun DittoAuthenticationStatus(isAuthenticated: Boolean, userId: String?)

Properties

isAuthenticated
Link copied to clipboard
val isAuthenticated: Boolean
Returns true if authenticated, otherwise returns false.
userId
Link copied to clipboard
val userId: String?
If authenticated, returns the userId if one was provided by the authentication service.