splitwise
Version:
A TypeScript SDK for the Splitwise API.
10 lines • 543 B
TypeScript
/**
* OAuth 2.0 Client Credentials grant for Splitwise.
*
* This is the simplest server-to-server flow: exchange your app's client_id
* and client_secret for an access token that acts on behalf of the app owner.
*/
import { type PostTokenRequestOptions } from './internal.js';
import type { ClientCredentialsParams, OAuthToken } from './types.js';
export declare function fetchClientCredentialsToken(params: ClientCredentialsParams, options?: PostTokenRequestOptions): Promise<OAuthToken>;
//# sourceMappingURL=client-credentials.d.ts.map