@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
15 lines (14 loc) • 602 B
TypeScript
import { HttpRequestConfig } from "../http/HttpRequestConfig";
import { SessionToken } from "./SessionToken";
/**
* Interface which manages the access token. Will be creating http calls for different authentication
* mechanisms like ServiceAccount Auth through JWT, or OAUTH, or API key.
*/
export interface Authenticator {
getSessionToken(requestConfig?: HttpRequestConfig): Promise<SessionToken>;
/**
* Fetches a new Session Token from IMS and returns the token.
*/
refreshSessionToken(requestConfig?: HttpRequestConfig): Promise<SessionToken>;
get clientId(): string;
}