Ditto JS SDK v5.0.0
    Preparing search index...

    Type Alias AuthenticationStatus

    Provides info about the authentication status.

    type AuthenticationStatus = {
        isAuthenticated: boolean;
        userID: string | null;
    }
    Index

    Properties

    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.