Provides info about the authentication status.
Returns true if authenticated, otherwise returns false.
true
false
If authenticated, returns the userId if one was provided by the authentication service. Otherwise returns null.
userId
null