UNPKG

853 BTypeScriptView Raw
1/**
2 * @license
3 * Copyright Akveo. All Rights Reserved.
4 * Licensed under the MIT License. See License.txt in the project root for license information.
5 */
6import { OnDestroy } from '@angular/core';
7import { Location } from '@angular/common';
8import { NbAuthService } from '../services/auth.service';
9import * as i0 from "@angular/core";
10export declare class NbAuthComponent implements OnDestroy {
11 protected auth: NbAuthService;
12 protected location: Location;
13 private destroy$;
14 subscription: any;
15 authenticated: boolean;
16 token: string;
17 constructor(auth: NbAuthService, location: Location);
18 back(): boolean;
19 ngOnDestroy(): void;
20 static ɵfac: i0.ɵɵFactoryDeclaration<NbAuthComponent, never>;
21 static ɵcmp: i0.ɵɵComponentDeclaration<NbAuthComponent, "nb-auth", never, {}, {}, never, never, false, never>;
22}