ProtectedResourceMetadata

class ProtectedResourceMetadata(val resource: String, val authorizationServers: List<String>? = null, val jwksUri: String? = null, val scopesSupported: List<String>? = null, val bearerMethodsSupported: List<String>? = null, val resourceSigningAlgValuesSupported: List<String>? = null, val resourceName: String? = null, val resourceDocumentation: String? = null, val resourcePolicyUri: String? = null, val resourceTosUri: String? = null, val tlsClientCertificateBoundAccessTokens: Boolean? = null, val authorizationDetailsTypesSupported: List<String>? = null, val dpopSigningAlgValuesSupported: List<String>? = null, val dpopBoundAccessTokensRequired: Boolean? = null)(source)

OAuth 2.0 Protected Resource Metadata as defined in RFC 9728.

Served at the /.well-known/oauth-protected-resource endpoint when OidcPluginConfig.protectedResource is configured.

Report a problem

Constructors

Link copied to clipboard
constructor(resource: String, authorizationServers: List<String>? = null, jwksUri: String? = null, scopesSupported: List<String>? = null, bearerMethodsSupported: List<String>? = null, resourceSigningAlgValuesSupported: List<String>? = null, resourceName: String? = null, resourceDocumentation: String? = null, resourcePolicyUri: String? = null, resourceTosUri: String? = null, tlsClientCertificateBoundAccessTokens: Boolean? = null, authorizationDetailsTypesSupported: List<String>? = null, dpopSigningAlgValuesSupported: List<String>? = null, dpopBoundAccessTokensRequired: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "authorization_details_types_supported")
val authorizationDetailsTypesSupported: List<String>?

Authorization details types supported per RFC 9396.

Link copied to clipboard
@SerialName(value = "authorization_servers")
val authorizationServers: List<String>?

OAuth authorization server issuer identifiers trusted by this resource.

Link copied to clipboard
@SerialName(value = "bearer_methods_supported")
val bearerMethodsSupported: List<String>?

Methods supported for presenting Bearer tokens: header, body, query.

Link copied to clipboard
@SerialName(value = "dpop_bound_access_tokens_required")
val dpopBoundAccessTokensRequired: Boolean?

Whether DPoP-bound access tokens are required.

Link copied to clipboard
@SerialName(value = "dpop_signing_alg_values_supported")
val dpopSigningAlgValuesSupported: List<String>?

JWS algorithms supported for DPoP proof validation.

Link copied to clipboard
@SerialName(value = "jwks_uri")
val jwksUri: String?

URL of the resource server's JWK Set document containing its public keys.

Link copied to clipboard

The protected resource's identifier URL.

Link copied to clipboard
@SerialName(value = "resource_documentation")
val resourceDocumentation: String?

URL of developer documentation for this resource.

Link copied to clipboard
@SerialName(value = "resource_name")
val resourceName: String?

Human-readable name of the protected resource.

Link copied to clipboard
@SerialName(value = "resource_policy_uri")
val resourcePolicyUri: String?

URL describing the resource's data usage requirements.

Link copied to clipboard
@SerialName(value = "resource_signing_alg_values_supported")
val resourceSigningAlgValuesSupported: List<String>?

JWS algorithms supported by this resource, excluding none.

Link copied to clipboard
@SerialName(value = "resource_tos_uri")
val resourceTosUri: String?

URL of the resource's terms of service.

Link copied to clipboard
@SerialName(value = "scopes_supported")
val scopesSupported: List<String>?

OAuth 2.0 scope values that this resource server understands.

Link copied to clipboard
@SerialName(value = "tls_client_certificate_bound_access_tokens")
val tlsClientCertificateBoundAccessTokens: Boolean?

Whether this resource requires TLS client certificate-bound access tokens.