@auth0/auth0-angular
    Preparing search index...

    Class AuthState

    Tracks the Authentication State for the SDK

    Index

    Constructors

    Properties

    error$: Observable<Error> = ...

    Emits errors that occur during login, or when checking for an active session on startup.

    idTokenClaims$: Observable<IdToken | null | undefined> = ...

    Emits ID token claims when authenticated, or null if not authenticated.

    isAuthenticated$: Observable<boolean> = ...

    Emits boolean values indicating the authentication state of the user. If true, it means a user has authenticated. This depends on the value of isLoading$, so there is no need to manually check the loading state of the SDK.

    isLoading$: Observable<boolean> = ...

    Emits boolean values indicating the loading state of the SDK.

    user$: Observable<User | null | undefined> = ...

    Emits details about the authenticated user, or null if not authenticated.

    Methods