UNPKG

@adobe/pdfservices-node-sdk

Version:

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

34 lines (33 loc) 1.12 kB
import { Credentials } from "./Credentials"; /** * Service Principal credentials allow your application to call PDF Services API. * For getting the credentials, * <a href = "https://www.adobe.com/go/dcsdks_credentials?ref=getStartedWithServicesSdk" target="_blank"> Click Here</a> */ export declare class ServicePrincipalCredentials implements Credentials { private readonly _clientId; private readonly _clientSecret; /** * Constructs an instance of `ServicePrincipalCredentials`. * * @param params - The parameters for constructing an instance of `ServicePrincipalCredentials`. * @param params.clientId - The client ID for `ServicePrincipalCredentials`. Cannot be undefined. * @param params.clientSecret - The client secret for `ServicePrincipalCredentials`. Cannot be undefined. */ constructor(params: { clientId: string; clientSecret: string; }); /** * Client Id * * @returns client Id */ get clientId(): string; /** * Client Secret * * @returns client secret */ get clientSecret(): string; }