Liking cljdoc? Tell your friends :D

oidc-provider.resource-metadata

OAuth 2.0 Protected Resource Metadata per RFC 9728.

Generates the JSON document served at /.well-known/oauth-protected-resource that describes a resource server's authorization requirements. This tells clients which authorization servers to use, what scopes are available, and how to present bearer tokens.

OAuth 2.0 Protected Resource Metadata per RFC 9728.

Generates the JSON document served at `/.well-known/oauth-protected-resource`
that describes a resource server's authorization requirements. This tells clients
which authorization servers to use, what scopes are available, and how to present
bearer tokens.
raw docstring

resource-metadataclj

(resource-metadata {:keys [resource authorization-servers scopes-supported
                           bearer-methods-supported resource-documentation]
                    :as config})

Generates OAuth 2.0 Protected Resource Metadata per RFC 9728.

Takes a configuration map matching ResourceServerConfig containing the resource identifier, authorization server URIs, and optional metadata. Validates the input and builds the metadata document with snake_case keys suitable for JSON serialization. Defaults bearer_methods_supported to ["header"] when not provided.

Generates OAuth 2.0 Protected Resource Metadata per RFC 9728.

Takes a configuration map matching [[ResourceServerConfig]] containing the resource
identifier, authorization server URIs, and optional metadata. Validates the input
and builds the metadata document with snake_case keys suitable for JSON serialization.
Defaults `bearer_methods_supported` to `["header"]` when not provided.
raw docstring

ResourceServerConfigclj

Malli schema for protected resource metadata configuration.

Malli schema for protected resource metadata configuration.
raw 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