UNPKG

@nebular/auth

Version:
23 lines (22 loc) 853 B
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { OnDestroy } from '@angular/core'; import { Location } from '@angular/common'; import { NbAuthService } from '../services/auth.service'; import * as i0 from "@angular/core"; export declare class NbAuthComponent implements OnDestroy { protected auth: NbAuthService; protected location: Location; private destroy$; subscription: any; authenticated: boolean; token: string; constructor(auth: NbAuthService, location: Location); back(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<NbAuthComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NbAuthComponent, "nb-auth", never, {}, {}, never, never, false, never>; }