Type Alias: ClientAuth

March 19, 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.


โ€ข 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

ParameterType
asServerMetadata
clientClientMetadata
bodyURLSearchParams
headersHeaders

Returns

void

See