currentAuthentication

var currentAuthentication: AuthenticationState

Gives the AuthenticationDetails of the currently authenticated user or null if no user is currently authenticated.