UNPKG

614 BTypeScriptView Raw
1import { Destination } from '../destination/destination-service-types';
2import { ClientCredentialsResponse } from '../xsuaa-service-types';
3/**
4 * @deprecated Since v1.47.0.
5 * Retrieves an access token required for "OAuth2ClientCredentials" destination authentication type.
6 * @param destination - A destination having `OAuth2ClientCredentials` authentication type
7 * @returns A promise returning the requested access token on success.
8 */
9export declare function getOAuth2ClientCredentialsToken(destination: Destination): Promise<ClientCredentialsResponse>;
10//# sourceMappingURL=client-credentials-token.d.ts.map
\No newline at end of file