mirror of
https://github.com/hanzoai/openid-client.git
synced 2026-09-24 17:01:10 +00:00
1.4 KiB
1.4 KiB
Type Alias: ClientAuth
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