oidc v0.1.0 OIDC.Auth.ClientConfig behaviour View Source
Behaviour to retrieve client configuration at runtime
Client configuration is a map whose keys are those documented in OpenID Connect Dynamic Client Registration 1.0 incorporating errata set 1 , those used being:
"id_token_encrypted_response_alg"
"id_token_encrypted_response_enc"
"id_token_signed_response_alg"
"jwks"
: the client's JWKs (must be maps, will be used callingJOSE.JWK.from_map/1
)"jwks_uri"
: the client's JWKs URI"token_endpoint_auth_method"
: the client's authentication method for the token endpoint
In addition, the following keys are used:
"client_secret"
: the client secret to authenticate to OAuth2 / OpenID Connect API endpoints when the"token_endpoint_auth_method"
is one of:"client_secret_post"
"client_secret_basic"
Link to this section Summary
Callbacks
Returns the client configuration, or nil
if not found
Link to this section Types
Link to this section Callbacks
Returns the client configuration, or nil
if not found