Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.18 KB

ClientSecretBasic.md

File metadata and controls

36 lines (22 loc) · 1.18 KB

Function: ClientSecretBasic()

💗 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

Parameter Type Description
clientSecret string

Returns

ClientAuth

Example

let clientSecret!: string

let clientAuth = oauth.ClientSecretBasic(clientSecret)

See