Function: ClientSecretBasic()
March 6, 2026 ยท View on GitHub
Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.
โธ ClientSecretBasic(clientSecret): ClientAuth
client_secret_basic uses the HTTP Basic authentication scheme to send client_id and
client_secret in an Authorization HTTP Header.
Parameters
| Parameter | Type | Description |
|---|---|---|
clientSecret | string | - |
Returns
Example
let clientSecret!: string
let clientAuth = oauth.ClientSecretBasic(clientSecret)