Type Alias: ClientAuth
March 19, 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.
โข ClientAuth = (as, client, body, headers) => void
Implementation of the Client's Authentication Method at the Authorization Server.
The default is ClientSecretPost if ClientMetadata.client_secret is present, None otherwise.
Other Client Authentication Methods must be provided explicitly and their implementations are linked below.
Parameters
| Parameter | Type |
|---|---|
as | ServerMetadata |
client | ClientMetadata |
body | URLSearchParams |
headers | Headers |
Returns
void