({
credentials: { client_email, private_key },
tokenExpiration = ONE_MINUTE * 15,
}: {
credentials: { client_email: string; private_key: string };
tokenExpiration?: number;
})
| 10 | private tokenExpiration: number; |
| 11 | |
| 12 | constructor({ |
| 13 | credentials: { client_email, private_key }, |
| 14 | tokenExpiration = ONE_MINUTE * 15, |
| 15 | }: { |
| 16 | credentials: { client_email: string; private_key: string }; |
| 17 | tokenExpiration?: number; |
| 18 | }) { |
| 19 | this.emailAddress = client_email; |
| 20 | this.privateKey = private_key; |
| 21 | |
| 22 | this.tokenExpiration = tokenExpiration; |
| 23 | } |
| 24 | |
| 25 | // eslint-disable-next-line @typescript-eslint/ban-ts-comment |
| 26 | // @ts-ignore |
nothing calls this directly
no outgoing calls
no test coverage detected