src/auth/credentials.ts
Properties |
|
| access_token |
access_token:
|
Type : string | null
|
| Optional |
| expiry_date |
expiry_date:
|
Type : number | null
|
| Optional |
| id_token |
id_token:
|
Type : string | null
|
| Optional |
| refresh_token |
refresh_token:
|
Type : string | null
|
| Optional |
| token_type |
token_type:
|
Type : string | null
|
| Optional |
export interface Credentials {
refresh_token?: string | null;
expiry_date?: number | null;
access_token?: string | null;
token_type?: string | null;
id_token?: string | null;
}
export interface CredentialRequest {
refresh_token?: string;
access_token?: string;
token_type?: string;
expires_in?: number;
id_token?: string;
}
export interface JWTInput {
type?: string;
client_email?: string;
private_key?: string;
private_key_id?: string;
project_id?: string;
client_id?: string;
client_secret?: string;
refresh_token?: string;
quota_project_id?: string;
}
export interface CredentialBody {
client_email?: string;
private_key?: string;
}