Package com.nimbusds.oauth2.sdk.as
Interface ReadOnlyAuthorizationServerMetadata
- All Superinterfaces:
ReadOnlyAuthorizationServerEndpointMetadata
- All Known Subinterfaces:
ReadOnlyOIDCProviderMetadata
- All Known Implementing Classes:
AuthorizationServerMetadata,OIDCProviderMetadata
public interface ReadOnlyAuthorizationServerMetadata
extends ReadOnlyAuthorizationServerEndpointMetadata
Read-only OAuth 2.0 Authorisation Server (AS) metadata.
Related specifications:
- OAuth 2.0 Authorization Server Metadata (RFC 8414)
- OAuth 2.0 Mutual TLS Client Authentication and Certificate Bound Access Tokens (RFC 8705)
- OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer (DPoP) (RFC 9449)
- Financial-grade API: JWT Secured Authorization Response Mode for OAuth 2.0 (JARM)
- OAuth 2.0 Authorization Server Issuer Identification (RFC 9207)
- Financial-grade API - Part 2: Read and Write API Security Profile
- OAuth 2.0 Pushed Authorization Requests (RFC 9126)
- OAuth 2.0 Rich Authorization Requests (RFC 9396)
- OAuth 2.0 Device Authorization Grant (RFC 8628)
- OpenID Connect Client Initiated Backchannel Authentication Flow - Core 1.0
- OAuth 2.0 Incremental Authorization (draft-ietf-oauth-incremental-authz)
- Initiating User Registration via OpenID Connect 1.0
- OpenID Connect Federation 1.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the supported authorisation details types for Rich Authorisation Requests (RAR).List<com.nimbusds.jose.JWEAlgorithm>Gets the supported JWE algorithms for JWT-encoded authorisation responses.List<com.nimbusds.jose.EncryptionMethod>Gets the supported encryption methods for JWT-encoded authorisation responses.List<com.nimbusds.jose.JWSAlgorithm>Gets the supported JWS algorithms for JWT-encoded authorisation responses.List<com.nimbusds.jose.JWSAlgorithm>Gets the supported JWS algorithms for CIBA requests.Gets the supported CIBA token delivery modes.List<com.nimbusds.jose.JWSAlgorithm>Gets the supported JWS algorithms for authenticating automatic OpenID Connect Federation 1.0 client registration requests.Gets the supported request authentication methods for automatic OpenID Connect Federation 1.0 client registration.Gets the supported OpenID Connect Federation 1.0 client registration types.Gets the supported authorisation code challenge methods for PKCE.getCustomParameter(String name) Gets the specified custom (not registered) parameter.net.minidev.json.JSONObjectGets the custom (not registered) parameters.getCustomURIParameter(String name) Gets the specified custom (not registered) URI parameter.List<com.nimbusds.jose.JWSAlgorithm>Gets the supported JWS algorithms for Demonstrating Proof-of-Possession at the Application Layer (DPoP).Gets the supported OAuth 2.0 grant types.Gets the supported OAuth 2.0 client types for incremental authorisation.Gets the supported introspection endpoint authentication methods.List<com.nimbusds.jose.JWSAlgorithm>Gets the supported JWS algorithms for theprivate_key_jwtandclient_secret_jwtintrospection endpoint authentication methods.Gets the issuer identifier.com.nimbusds.jose.jwk.JWKSetGets the JWK set (OpenID Connect Federation 1.0).Gets the JSON Web Key (JWK) set URI.Gets the organisation name (OpenID Connect Federation 1.0).Gets the provider's policy regarding relying party use of data.Gets the supportedprompt types.Gets the aliases for communication with mutual TLS.List<com.nimbusds.jose.JWEAlgorithm>Gets the supported JWE algorithms for request objects.List<com.nimbusds.jose.EncryptionMethod>Gets the supported encryption methods for request objects.List<com.nimbusds.jose.JWSAlgorithm>Gets the supported JWS algorithms for request objects.Gets the supported response mode values.Gets the supported response type values.Gets the supported revocation endpoint authentication methods.List<com.nimbusds.jose.JWSAlgorithm>Gets the supported JWS algorithms for theprivate_key_jwtandclient_secret_jwtrevocation endpoint authentication methods.Gets the supported scope values.Gets the service documentation URI.Gets the signed JWK set URI (OpenID Connect Federation 1.0).Gets the provider's terms of service.Gets the supported token endpoint authentication methods.List<com.nimbusds.jose.JWSAlgorithm>Gets the supported JWS algorithms for theprivate_key_jwtandclient_secret_jwttoken endpoint authentication methods.List<com.nimbusds.langtag.LangTag>Gets the supported UI locales.booleanGets the requirement for pushed authorisation requests (PAR).booleanGets the requirement for therequest_uriparameter pre-registration.booleanGets the support for theissauthorisation response parameter.booleanGets the support for theuser_codeCIBA request parameter.booleanDeprecated.booleanGets the support for therequestauthorisation request parameter.booleanGets the support for therequest_uriauthorisation request parameter.booleanGets the support for TLS client certificate bound access tokens.net.minidev.json.JSONObjectReturns the JSON object representation of the metadata.Methods inherited from interface com.nimbusds.oauth2.sdk.as.ReadOnlyAuthorizationServerEndpointMetadata
getAuthorizationEndpointURI, getBackChannelAuthenticationEndpoint, getBackChannelAuthenticationEndpointURI, getDeviceAuthorizationEndpointURI, getFederationRegistrationEndpointURI, getIntrospectionEndpointURI, getPushedAuthorizationRequestEndpointURI, getRegistrationEndpointURI, getRequestObjectEndpoint, getRevocationEndpointURI, getTokenEndpointURI
-
Method Details
-
getIssuer
Gets the issuer identifier. Corresponds to theissuermetadata field.- Returns:
- The issuer identifier.
-
getJWKSetURI
Gets the JSON Web Key (JWK) set URI. Corresponds to thejwks_urimetadata field.- Returns:
- The JWK set URI,
nullif not specified.
-
getScopes
Gets the supported scope values. Corresponds to thescopes_supportedmetadata field.- Returns:
- The supported scope values,
nullif not specified.
-
getResponseTypes
Gets the supported response type values. Corresponds to theresponse_types_supportedmetadata field.- Returns:
- The supported response type values,
nullif not specified.
-
getResponseModes
Gets the supported response mode values. Corresponds to theresponse_modes_supported.- Returns:
- The supported response mode values,
nullif not specified.
-
getGrantTypes
Gets the supported OAuth 2.0 grant types. Corresponds to thegrant_types_supportedmetadata field.- Returns:
- The supported grant types,
nullif not specified.
-
getCodeChallengeMethods
Gets the supported authorisation code challenge methods for PKCE. Corresponds to thecode_challenge_methods_supportedmetadata field.- Returns:
- The supported code challenge methods,
nullif not specified.
-
getTokenEndpointAuthMethods
Gets the supported token endpoint authentication methods. Corresponds to thetoken_endpoint_auth_methods_supportedmetadata field.- Returns:
- The supported token endpoint authentication methods,
nullif not specified.
-
getTokenEndpointJWSAlgs
List<com.nimbusds.jose.JWSAlgorithm> getTokenEndpointJWSAlgs()Gets the supported JWS algorithms for theprivate_key_jwtandclient_secret_jwttoken endpoint authentication methods. Corresponds to thetoken_endpoint_auth_signing_alg_values_supportedmetadata field.- Returns:
- The supported JWS algorithms,
nullif not specified.
-
getIntrospectionEndpointAuthMethods
Gets the supported introspection endpoint authentication methods. Corresponds to theintrospection_endpoint_auth_methods_supportedmetadata field.- Returns:
- The supported introspection endpoint authentication methods,
nullif not specified.
-
getIntrospectionEndpointJWSAlgs
List<com.nimbusds.jose.JWSAlgorithm> getIntrospectionEndpointJWSAlgs()Gets the supported JWS algorithms for theprivate_key_jwtandclient_secret_jwtintrospection endpoint authentication methods. Corresponds to theintrospection_endpoint_auth_signing_alg_values_supportedmetadata field.- Returns:
- The supported JWS algorithms,
nullif not specified.
-
getRevocationEndpointAuthMethods
Gets the supported revocation endpoint authentication methods. Corresponds to therevocation_endpoint_auth_methods_supportedmetadata field.- Returns:
- The supported revocation endpoint authentication methods,
nullif not specified.
-
getRevocationEndpointJWSAlgs
List<com.nimbusds.jose.JWSAlgorithm> getRevocationEndpointJWSAlgs()Gets the supported JWS algorithms for theprivate_key_jwtandclient_secret_jwtrevocation endpoint authentication methods. Corresponds to therevocation_endpoint_auth_signing_alg_values_supportedmetadata field.- Returns:
- The supported JWS algorithms,
nullif not specified.
-
getRequestObjectJWSAlgs
List<com.nimbusds.jose.JWSAlgorithm> getRequestObjectJWSAlgs()Gets the supported JWS algorithms for request objects. Corresponds to therequest_object_signing_alg_values_supportedmetadata field.- Returns:
- The supported JWS algorithms,
nullif not specified.
-
getRequestObjectJWEAlgs
List<com.nimbusds.jose.JWEAlgorithm> getRequestObjectJWEAlgs()Gets the supported JWE algorithms for request objects. Corresponds to therequest_object_encryption_alg_values_supportedmetadata field.- Returns:
- The supported JWE algorithms,
nullif not specified.
-
getRequestObjectJWEEncs
List<com.nimbusds.jose.EncryptionMethod> getRequestObjectJWEEncs()Gets the supported encryption methods for request objects. Corresponds to therequest_object_encryption_enc_values_supportedmetadata field.- Returns:
- The supported encryption methods,
nullif not specified.
-
supportsRequestParam
boolean supportsRequestParam()Gets the support for therequestauthorisation request parameter. Corresponds to therequest_parameter_supportedmetadata field.- Returns:
trueif thereqeustparameter is supported, elsefalse.
-
supportsRequestURIParam
boolean supportsRequestURIParam()Gets the support for therequest_uriauthorisation request parameter. Corresponds to therequest_uri_parameter_supportedmetadata field.- Returns:
trueif therequest_uriparameter is supported, elsefalse.
-
requiresRequestURIRegistration
boolean requiresRequestURIRegistration()Gets the requirement for therequest_uriparameter pre-registration. Corresponds to therequire_request_uri_registrationmetadata field.- Returns:
trueif therequest_uriparameter values must be pre-registered, elsefalse.
-
supportsAuthorizationResponseIssuerParam
boolean supportsAuthorizationResponseIssuerParam()Gets the support for theissauthorisation response parameter. Corresponds to theauthorization_response_iss_parameter_supportedmetadata field.- Returns:
trueif theissauthorisation response parameter is provided, elsefalse.
-
getUILocales
List<com.nimbusds.langtag.LangTag> getUILocales()Gets the supported UI locales. Corresponds to theui_locales_supportedmetadata field.- Returns:
- The supported UI locales,
nullif not specified.
-
getServiceDocsURI
Gets the service documentation URI. Corresponds to theservice_documentationmetadata field.- Returns:
- The service documentation URI,
nullif not specified.
-
getPolicyURI
Gets the provider's policy regarding relying party use of data. Corresponds to theop_policy_urimetadata field.- Returns:
- The policy URI,
nullif not specified.
-
getTermsOfServiceURI
Gets the provider's terms of service. Corresponds to theop_tos_urimetadata field.- Returns:
- The terms of service URI,
nullif not specified.
-
getReadOnlyMtlsEndpointAliases
Gets the aliases for communication with mutual TLS. Corresponds to themtls_endpoint_aliasesmetadata field.- Returns:
- The aliases for communication with mutual TLS,
nullwhen no aliases are defined.
-
supportsTLSClientCertificateBoundAccessTokens
Gets the support for TLS client certificate bound access tokens. Corresponds to thetls_client_certificate_bound_access_tokensmetadata field.- Returns:
trueif TLS client certificate bound access tokens are supported, elsefalse.
-
supportsMutualTLSSenderConstrainedAccessTokens
Deprecated.Gets the support for TLS client certificate bound access tokens. Corresponds to thetls_client_certificate_bound_access_tokensmetadata field.- Returns:
trueif TLS client certificate bound access tokens are supported, elsefalse.
-
getDPoPJWSAlgs
List<com.nimbusds.jose.JWSAlgorithm> getDPoPJWSAlgs()Gets the supported JWS algorithms for Demonstrating Proof-of-Possession at the Application Layer (DPoP). Corresponds to the "dpop_signing_alg_values_supported" metadata field.- Returns:
- The supported JWS algorithms for DPoP,
nullif none.
-
getAuthorizationJWSAlgs
List<com.nimbusds.jose.JWSAlgorithm> getAuthorizationJWSAlgs()Gets the supported JWS algorithms for JWT-encoded authorisation responses. Corresponds to theauthorization_signing_alg_values_supportedmetadata field.- Returns:
- The supported JWS algorithms,
nullif not specified.
-
getAuthorizationJWEAlgs
List<com.nimbusds.jose.JWEAlgorithm> getAuthorizationJWEAlgs()Gets the supported JWE algorithms for JWT-encoded authorisation responses. Corresponds to theauthorization_encryption_alg_values_supportedmetadata field.- Returns:
- The supported JWE algorithms,
nullif not specified.
-
getAuthorizationJWEEncs
List<com.nimbusds.jose.EncryptionMethod> getAuthorizationJWEEncs()Gets the supported encryption methods for JWT-encoded authorisation responses. Corresponds to theauthorization_encryption_enc_values_supportedmetadata field.- Returns:
- The supported encryption methods,
nullif not specified.
-
requiresPushedAuthorizationRequests
boolean requiresPushedAuthorizationRequests()Gets the requirement for pushed authorisation requests (PAR). Corresponds to thepushed_authorization_request_endpointmetadata field.- Returns:
trueif PAR is required, elsefalse.
-
getAuthorizationDetailsTypes
Gets the supported authorisation details types for Rich Authorisation Requests (RAR). Corresponds to theauthorization_details_types_supportedmetadata field.- Returns:
- The supported authorisation types,
nullif not specified.
-
getIncrementalAuthorizationTypes
Gets the supported OAuth 2.0 client types for incremental authorisation. Corresponds to theincremental_authz_types_supportedmetadata field.- Returns:
- The supported client types for incremental authorisation,
nullif not specified.
-
getBackChannelTokenDeliveryModes
Gets the supported CIBA token delivery modes. Corresponds to thebackchannel_token_delivery_modes_supportedmetadata field.- Returns:
- The CIBA token delivery modes,
nullif not specified.
-
getBackChannelAuthenticationRequestJWSAlgs
List<com.nimbusds.jose.JWSAlgorithm> getBackChannelAuthenticationRequestJWSAlgs()Gets the supported JWS algorithms for CIBA requests. Corresponds to thebackchannel_authentication_request_signing_alg_values_supportedmetadata field.- Returns:
- The supported JWS algorithms,
nullif not specified.
-
supportsBackChannelUserCodeParam
boolean supportsBackChannelUserCodeParam()Gets the support for theuser_codeCIBA request parameter. Corresponds to thebackchannel_user_code_parameter_supportedmetadata field.- Returns:
trueif theuser_codeparameter is supported, elsefalse.
-
getPromptTypes
Gets the supportedprompt types. Corresponds to theprompt_values_supportedmetadata field.- Returns:
- The supported prompt types,
nullif not specified.
-
getOrganizationName
Gets the organisation name (OpenID Connect Federation 1.0). Corresponds to theorganization_namemetadata field.- Returns:
- The organisation name,
nullif not specified.
-
getJWKSet
com.nimbusds.jose.jwk.JWKSet getJWKSet()Gets the JWK set (OpenID Connect Federation 1.0). Corresponds to thejwksmetadata field.- Returns:
- The JWK set,
nullif not specified.
-
getSignedJWKSetURI
Gets the signed JWK set URI (OpenID Connect Federation 1.0). Corresponds to thesigned_jwks_urimetadata field.- Returns:
- The signed JWK set URI,
nullif not specified.
-
getClientRegistrationTypes
Gets the supported OpenID Connect Federation 1.0 client registration types. Corresponds to theclient_registration_types_supportedmetadata field.- Returns:
- The supported client registration types,
nullif not specified.
-
getClientRegistrationAuthnMethods
Gets the supported request authentication methods for automatic OpenID Connect Federation 1.0 client registration. Corresponds to therequest_authentication_methods_supportedfield.- Returns:
- The supported request authentication methods for automatic
federation client registration,
nullif not specified.
-
getClientRegistrationAuthnJWSAlgs
List<com.nimbusds.jose.JWSAlgorithm> getClientRegistrationAuthnJWSAlgs()Gets the supported JWS algorithms for authenticating automatic OpenID Connect Federation 1.0 client registration requests. Corresponds to therequest_authentication_signing_alg_values_supported.- Returns:
- The supported JWS algorithms,
nullif not specified.
-
getCustomParameter
Gets the specified custom (not registered) parameter.- Parameters:
name- The parameter name. Must not benull.- Returns:
- The parameter value,
nullif not specified.
-
getCustomURIParameter
Gets the specified custom (not registered) URI parameter.- Parameters:
name- The parameter name. Must not benull.- Returns:
- The parameter URI value,
nullif not specified.
-
getCustomParameters
net.minidev.json.JSONObject getCustomParameters()Gets the custom (not registered) parameters.- Returns:
- The custom parameters, empty JSON object if none.
-
toJSONObject
net.minidev.json.JSONObject toJSONObject()Returns the JSON object representation of the metadata.- Specified by:
toJSONObjectin interfaceReadOnlyAuthorizationServerEndpointMetadata- Returns:
- The JSON object representation.
-