UNPKG

629 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';
9export declare class NbAuthComponent implements OnDestroy {
10 protected auth: NbAuthService;
11 protected location: Location;
12 private destroy$;
13 subscription: any;
14 authenticated: boolean;
15 token: string;
16 constructor(auth: NbAuthService, location: Location);
17 back(): boolean;
18 ngOnDestroy(): void;
19}