All files / sn-client-js/src/Authentication LoginState.ts

100% Statements 4/4
100% Branches 2/2
100% Functions 1/1
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21              1x       1x       1x       1x  
/**
 * @module Authentication
 */ /** */
 
/**
 * This enum represents the current state of the user session
 */
export enum LoginState {
    /**
     * There is a request (login or token refresh) in progress
     */
    Pending,
    /**
     * The user is not authenticated
     */
    Unauthenticated,
    /**
     * The user is authenticated and has a valid access token
     */
    Authenticated
}