Ring handlers for OAuth2 Dynamic Client Registration (RFC 7591/7592) and Token Revocation (RFC 7009).
Provides registration-handler for client registration and
revocation-handler for token revocation.
Ring handlers for OAuth2 Dynamic Client Registration (RFC 7591/7592) and Token Revocation (RFC 7009). Provides [[registration-handler]] for client registration and [[revocation-handler]] for token revocation.
(registration-handler client-store & {:keys [initial-access-token]})Creates a Ring handler for dynamic client registration.
Takes a client-store implementing oidc-provider.protocol/ClientStore
and optional keyword arguments. When :initial-access-token is provided,
POST requests require a matching Bearer token for gated registration.
Returns a Ring handler function that dispatches POST for registration and GET for client configuration reads.
Creates a Ring handler for dynamic client registration. Takes a `client-store` implementing [[oidc-provider.protocol/ClientStore]] and optional keyword arguments. When `:initial-access-token` is provided, POST requests require a matching Bearer token for gated registration. Returns a Ring handler function that dispatches POST for registration and GET for client configuration reads.
(revocation-handler client-store token-store)Creates a Ring handler for RFC 7009 token revocation.
Takes client-store and token-store. Only accepts POST requests; returns
405 for other methods.
Creates a Ring handler for RFC 7009 token revocation. Takes `client-store` and `token-store`. Only accepts POST requests; returns 405 for other methods.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |