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

Provides info about the authentication status.


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


Link copied to clipboard
val isAuthenticated: Boolean

Returns true if authenticated, otherwise returns false.

Link copied to clipboard
val userId: String?

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