AuthenticationStatus: {
    isAuthenticated: boolean;
    userID: string | null;
}

Provides info about the authentication status.

Type declaration

  • isAuthenticated: boolean

    Returns true if authenticated, otherwise returns false.

  • userID: string | null

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