security/oauth
Documentation
- source: security/oauth.ts
Overview
Classes
OAuthClient
getToken()
Executes the OAuth token request and returns the parsed response.
The request uses the client credentials grant type (default) and sends credentials as URL-encoded parameters in the body.
tsgetToken(): any;Returns
- Type:
any- Description: A parsed JSON object containing the OAuth token (e.g., { access_token: string, expires_in: number, ... }).
