Extend a request to the authorization server with client authentication
parameters. If you're not using client authentication, you can set this
to clientAuthenticationNone()
There are three default client authentication methods provided:
clientAuthenticationClientSecretPostclientAuthenticationClientSecretBasicclientAuthenticationClientAttestationJwtclientAuthenticationNoneclientAuthenticationAnonymousA custom implementation can be made for other methods, or allowing complex scenarios where multiple authorization servers are supported.
Decrypt jwe callback for decrypting of Json Web Encryptions
Encrypt jwt callback for encrypting of Json Web Encryptions
OptionalfetchCustom fetch implementation to use
Optionalinit: RequestInitGenerate random callback to generate random bytes. Used for e.g. the 'jti' value in a dpop jwt, and 'code_verifier' in pkce.
OptionalgetGet the DNS names and URI names from a X.509 certificate
Hash callback used for e.g. dpop and pkce
Sign jwt callback for signing of Json Web Tokens
Verify jwt callback for verification of Json Web Tokens
Callback context provides the callbacks that are required for the openid4vc library