UNPKG

data-and-reporting-sdk

Version:

Data And Reporting product consists of API's which provides details of transaction and invoice informations about shell cards. The Shell Card Transaction and Invoice API is REST-based and employs Basic authentication in Version 1 and Oauth authentication

25 lines 1 kB
/** * Shell Data & Reporting APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { OAuthToken } from './models/oAuthToken.js'; import { ClientInterface } from './clientInterface.js'; export declare class ClientCredentialsAuthManager { private _oAuthClientId; private _oAuthClientSecret; private _oAuthClockSkew?; private _oAuthController; constructor({ oAuthClientId, oAuthClientSecret, oAuthClockSkew, }: { oAuthClientId: string; oAuthClientSecret: string; oAuthClockSkew?: number; }, client: ClientInterface); updateToken(oAuthToken?: OAuthToken): Promise<OAuthToken>; isValid(oAuthToken: OAuthToken | undefined): oAuthToken is OAuthToken; isExpired(oAuthToken: OAuthToken): boolean; fetchToken(additionalParams?: Record<string, unknown>): Promise<OAuthToken>; private getClientBasicAuth; private setExpiry; } //# sourceMappingURL=clientCredentialsAuthManager.d.ts.map