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.
Parameter | Type | Description |
---|---|---|
clientSecret |
string |
let clientSecret!: string
let clientAuth = oauth.ClientSecretBasic(clientSecret)