@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
31 lines (30 loc) • 987 B
TypeScript
import { ProxyAuthenticationCredentials } from "./ProxyAuthenticationCredentials";
/**
* Simple {@link ProxyAuthenticationCredentials} implementation based on a username and password.
*/
export declare class UsernamePasswordCredentials implements ProxyAuthenticationCredentials {
private readonly _username;
private readonly _password;
/**
* Constructs an instance of `UsernamePasswordCredentials`.
* @param params - The parameters for constructing an instance of `UsernamePasswordCredentials`.
* @param params.username - Username. Cannot be undefined.
* @param params.password - Password. Cannot be undefined.
*/
constructor(params: {
username: string;
password: string;
});
/**
* Returns the username.
*
* @returns A String denoting username
*/
get username(): string;
/**
* Returns the password.
*
* @returns A String denoting password
*/
get password(): string;
}