@devlearning/jwt-auth
Version:
Jwt Angular Authentication manager with automatic Refresh Token management.
13 lines (12 loc) • 695 B
TypeScript
import { ModuleWithProviders } from '@angular/core';
import { JwtAuthService } from './jwt-auth.service';
import { JwtAuthConfig } from './models/jwt-auth-config';
import * as i0 from "@angular/core";
import * as i1 from "@devlearning/mutex-fast-lock";
export declare class JwtAuthModule {
static forRoot(jwtAuthConfig: JwtAuthConfig): ModuleWithProviders<JwtAuthModule>;
static ɵfac: i0.ɵɵFactoryDeclaration<JwtAuthModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<JwtAuthModule, never, [typeof i1.MutexFastLockModule], never>;
static ɵinj: i0.ɵɵInjectorDeclaration<JwtAuthModule>;
}
export declare function init(jwtAuth: JwtAuthService<any>): () => Promise<void>;