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)Creates a Ring handler for dynamic client registration.
Takes a client-store implementing oidc-provider.protocol/ClientStore.
Returns a Ring handler function that dispatches POST for registration
and GET for client configuration reads. To gate registration access,
use application-level middleware.
Creates a Ring handler for dynamic client registration. Takes a `client-store` implementing [[oidc-provider.protocol/ClientStore]]. Returns a Ring handler function that dispatches POST for registration and GET for client configuration reads. To gate registration access, use application-level middleware.
(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 |