src/auth/credentials.ts
Properties |
|
client_email |
client_email:
|
Type : string
|
Optional |
client_id |
client_id:
|
Type : string
|
Optional |
client_secret |
client_secret:
|
Type : string
|
Optional |
private_key |
private_key:
|
Type : string
|
Optional |
private_key_id |
private_key_id:
|
Type : string
|
Optional |
project_id |
project_id:
|
Type : string
|
Optional |
refresh_token |
refresh_token:
|
Type : string
|
Optional |
type |
type:
|
Type : string
|
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;
}
export interface CredentialBody {
client_email?: string;
private_key?: string;
}