src/app/auth/models/auth.ts
Properties |
| access_token |
access_token:
|
Type : string
|
| expires_in |
expires_in:
|
Type : number
|
| iat |
iat:
|
Type : number
|
| iss |
iss:
|
Type : string
|
| jti |
jti:
|
Type : string
|
| token_type |
token_type:
|
Type : string
|
import { User } from './user';
export interface AuthResponse {
access_token: string;
expires_in: number;
iat: number;
iss: string;
jti: string;
token_type: string;
}
export interface AuthData {
token: string;
user: User;
}