UNPKG

@climatepartner/climatepartner-api-sdk

Version:

The ClimatePartner API provides one uniform public API to customers of ClimatePartner.

13 lines (12 loc) 444 B
import { StsBaseService } from '../gen/service/sts-base-service'; export declare class StsService extends StsBaseService { #private; private longtermToken; private authorizationStoragePath?; constructor(longtermToken: string, authorizationStoragePath?: string); /** * get the access token. If token is expired a new token will be fetched * and stored. */ getToken: (force?: boolean) => Promise<string>; }