DittoAuthenticationStatus

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

Provides info about the authentication status.

Constructors

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

Properties

Link copied to clipboard

Returns true if authenticated, otherwise returns false.

Link copied to clipboard

If authenticated, returns the userId if one was provided by the authentication service. Otherwise returns null.