1 | import { NbAuthToken } from './token/token';
|
2 | export declare class NbAuthResult {
|
3 | protected success: boolean;
|
4 | protected response?: any;
|
5 | protected redirect?: any;
|
6 | protected token: NbAuthToken;
|
7 | protected errors: string[];
|
8 | protected messages: string[];
|
9 | constructor(success: boolean, response?: any, redirect?: any, errors?: any, messages?: any, token?: NbAuthToken);
|
10 | getResponse(): any;
|
11 | getToken(): NbAuthToken;
|
12 | getRedirect(): string;
|
13 | getErrors(): string[];
|
14 | getMessages(): string[];
|
15 | isSuccess(): boolean;
|
16 | isFailure(): boolean;
|
17 | }
|