UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

33 lines (32 loc) 1.04 kB
/** * Parameters for representing CSC authorization context. */ export declare class CSCAuthContext { private readonly _accessToken; private readonly _tokenType?; /** * Constructs a new `CSCAuthContext` instance. * * @param params - The parameters for constructing an instance of `CSCAuthContext`. * @param params.accessToken - The the service access token used to authorize access to the CSC provider * hosted APIs. Cannot be undefined. * @param [params.tokenType] - The the type of service access token used to authorize access to the CSC * provider hosted APIs. Default value is `"Bearer"`. */ constructor(params: { accessToken: string; tokenType?: string; }); /** * Returns the access token required for CSC based services. * * @returns CSC Provider access token */ get accessToken(): string; /** * Returns the type of access token. * * @returns token type */ get tokenType(): string | undefined; }