import { GenericEvent } from "jzo-library"; import { AuthenticationStateChangedEventArgs } from "../data/AuthenticationStateChangedEventArgs"; import { AuthenticationResponse, AuthenticationState, ParsedTokenData } from "../data/types"; import { IJwtTokenAuthenticationStateProvider } from "../interfaces/IJwtTokenAuthenticationStateProvider"; import { IStorage } from "../interfaces/IStorage"; import { ITokenizedApiCommunicationService } from "../interfaces/ITokenizedApiCommunicationService"; export declare class JwtTokenAuthenticationStateProvider implements IJwtTokenAuthenticationStateProvider { private static _refreshService; private readonly _storageService; private readonly _apiService; private _firstPassSignal; readonly PARSED_TOKEN_STORAGE_KEY: string; readonly authenticationStateChanged: GenericEvent; constructor(storage: IStorage, apiService: ITokenizedApiCommunicationService); getAuthenticationState(): AuthenticationState; authenticateUserWithAuthenticationResponse(authenticationResponse: AuthenticationResponse): void; authenticateUserWithParsedTokenData(parsedTokenData: ParsedTokenData): void; logout(): void; protected authenticateUserInner(parsedTokenData: ParsedTokenData): void; getParsedTokenData(): ParsedTokenData; parseToken(loginResponse: AuthenticationResponse): ParsedTokenData; protected isTokenExpired(expireDate: Date): boolean; }