File

projects/netgrif-components-core/src/lib/authentication/store/authentication.state.ts

Index

Properties

Properties

error
error: string | null
Type : string | null
isAuthenticated
isAuthenticated: boolean
Type : boolean
session
session: string
Type : string
export const AUTHENTICATION_FEATURE_KEY = 'nae-auth';

export interface AuthState {
    isAuthenticated: boolean;
    session: string;
    error: string | null;
}

export const initialState: AuthState = {
    isAuthenticated: false,
    session: null,
    error: null
};

export function getInitial(): AuthState {
    return initialState;
}

result-matching ""

    No results matching ""