Function: ClientSecretBasic()

March 6, 2026 ยท View on GitHub

๐Ÿ’— Help the project

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

ParameterTypeDescription
clientSecretstring-

Returns

ClientAuth

Example

let clientSecret!: string

let clientAuth = oauth.ClientSecretBasic(clientSecret)

See