bfend
Version:
Admin template base on ng-zorro-antd
15 lines (14 loc) • 569 B
TypeScript
import { ModuleWithProviders } from '@angular/core';
import { BfAppService } from './app.service';
import { BfendOptions } from './options.type';
import { BfTokenStorage } from './auth/token.service';
export declare function jwtOptionsFactory(storage: BfTokenStorage): {
skipWhenExpired: boolean;
whitelistedDomains: RegExp[];
tokenGetter: () => string;
};
export declare function startupServiceFactory(appService: BfAppService): Function;
/** @dynamic */
export declare class BfendModule {
static forRoot(options: BfendOptions): ModuleWithProviders;
}