@flexbase/http-client-middleware
Version:
Http client middleware
21 lines (20 loc) • 665 B
TypeScript
/**
* Represents options for a client credential authentication request
*/
export declare class ClientCredentials {
/** The url used to request a token */
tokenUrl: string;
/** The optional url used to send a refresh token */
refreshTokenUrl: string | undefined;
/** The client id */
clientId: string;
/** The client secret */
clientSecret: string;
/** The grant type, defaults to *client_credentials* */
grantType: string;
/** The refresh grant type, defaults to *refresh_token* */
refreshGrantType: string;
/** The requested scopes */
scope: string;
constructor(props?: Partial<ClientCredentials>);
}