Liking cljdoc? Tell your friends :D

oidc-provider.error

Error type hierarchy for classifying OAuth2/OIDC errors.

Defines a keyword hierarchy using derive so that Ring handlers can dispatch on (:type (ex-data e)) via isa? rather than matching on exception message strings. All domain-layer ex-info throws should include a :type key drawn from this hierarchy.

Error type hierarchy for classifying OAuth2/OIDC errors.

Defines a keyword hierarchy using `derive` so that Ring handlers can dispatch
on `(:type (ex-data e))` via `isa?` rather than matching on exception message
strings. All domain-layer `ex-info` throws should include a `:type` key drawn
from this hierarchy.
raw docstring

auth-error?clj

(auth-error? type)

Returns true when type is an authentication error (401-level) in the hierarchy.

Returns true when `type` is an authentication error (401-level) in the hierarchy.
sourceraw docstring

hierarchyclj

Keyword hierarchy for OAuth2/OIDC error types.

::request-error covers client-side request problems (400-level). ::auth-error covers authentication/authorization failures (401-level).

Keyword hierarchy for OAuth2/OIDC error types.

`::request-error` covers client-side request problems (400-level).
`::auth-error` covers authentication/authorization failures (401-level).
sourceraw docstring

request-error?clj

(request-error? type)

Returns true when type is a request error (400-level) in the hierarchy.

Returns true when `type` is a request error (400-level) in the hierarchy.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close