|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata
public class OIDCProviderMetadata
OpenID Connect provider metadata. This class is immutable.
Related specifications:
Field Summary | |
---|---|
static String |
VERSION
The version, set to "3.0". |
Constructor Summary | |
---|---|
protected |
OIDCProviderMetadata(Issuer issuer,
Set<SubjectType> subjectTypes)
Creates a new OpenID Connect provider metadata instance. |
Method Summary | |
---|---|
Set<ACR> |
getACRs()
Gets the supported Authentication Context Class References (ACRs). |
URL |
getAuthorizationEndpointURL()
Gets the authorisation endpoint URL. |
URL |
getCheckSessionIframeURL()
Gets the cross-origin check session iframe URL. |
Set<String> |
getClaims()
Gets the supported claims names. |
Set<com.nimbusds.langtag.LangTag> |
getClaimsLocales()
Gets the supported claims locales. |
Set<ClaimType> |
getClaimTypes()
Gets the supported claim types. |
Set<Display> |
getDisplays()
Gets the supported displays. |
URL |
getEndSessionEndpointURL()
Gets the logout endpoint URL. |
Set<GrantType> |
getGrantTypes()
Gets the supported OAuth 2.0 grant types. |
Set<com.nimbusds.jose.JWEAlgorithm> |
getIDTokenJWEAlgs()
Gets the supported JWE algorithms for ID tokens. |
Set<com.nimbusds.jose.EncryptionMethod> |
getIDTokenJWEEncs()
Gets the supported encryption methods for ID tokens. |
Set<com.nimbusds.jose.JWSAlgorithm> |
getIDTokenJWSAlgs()
Gets the supported JWS algorithms for ID tokens. |
Issuer |
getIssuer()
Gets the issuer identifier. |
URL |
getJWKSetURI()
Gets the JSON Web Key (JWK) set URI. |
URL |
getPolicyURI()
Gets the provider's policy regarding relying party use of data. |
URL |
getRegistrationEndpointURL()
Gets the client registration endpoint URL. |
Set<com.nimbusds.jose.JWEAlgorithm> |
getRequestObjectJWEAlgs()
Gets the supported JWE algorithms for OpenID Connect request objects. |
Set<com.nimbusds.jose.EncryptionMethod> |
getRequestObjectJWEEncs()
Gets the supported encryption methods for OpenID Connect request objects. |
Set<com.nimbusds.jose.JWSAlgorithm> |
getRequestObjectJWSAlgs()
Gets the supported JWS algorithms for OpenID Connect request objects. |
Set<ResponseType> |
getResponseTypes()
Gets the supported response type values. |
Scope |
getScopes()
Gets the supported scope values. |
URL |
getServiceDocsURL()
Gets the service documentation URL. |
Set<SubjectType> |
getSubjectTypes()
Gets the supported subject types. |
URL |
getTermsOfServiceURI()
Gets the provider's terms of service. |
Set<ClientAuthenticationMethod> |
getTokenEndpointAuthMethods()
Gets the supported token endpoint authentication methods. |
Set<com.nimbusds.jose.JWSAlgorithm> |
getTokenEndpointJWSAlgs()
Gets the supported JWS algorithms for the private_key_jwt
and client_secret_jwt token endpoint authentication methods. |
URL |
getTokenEndpointURL()
Gets the token endpoint URL. |
Set<com.nimbusds.langtag.LangTag> |
getUILocales()
Gets the supported UI locales. |
URL |
getUserInfoEndpointURL()
Gets the UserInfo endpoint URL. |
Set<com.nimbusds.jose.JWEAlgorithm> |
getUserInfoJWEAlgs()
Gets the supported JWE algorithms for UserInfo JWTs. |
Set<com.nimbusds.jose.EncryptionMethod> |
getUserInfoJWEEncs()
Gets the supported encryption methods for UserInfo JWTs. |
Set<com.nimbusds.jose.JWSAlgorithm> |
getUserInfoJWSAlgs()
Gets the supported JWS algorithms for UserInfo JWTs. |
static OIDCProviderMetadata |
parse(net.minidev.json.JSONObject jsonObject)
Parses an OpenID Connect provider metadata from the specified JSON object. |
static OIDCProviderMetadata |
parse(String s)
Parses an OpenID Connect provider metadata from the specified JSON object string. |
boolean |
requiresRequestURIRegistration()
Gets the requirement for the request_uri parameter
pre-registration. |
boolean |
supportsClaimsParam()
Gets the support for the claim authorisation request
parameter. |
boolean |
supportsRequestParam()
Gets the support for the request authorisation request
parameter. |
boolean |
supportsRequestURIParam()
Gets the support for the request_uri authorisation request
parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String VERSION
Constructor Detail |
---|
protected OIDCProviderMetadata(Issuer issuer, Set<SubjectType> subjectTypes)
issuer
- The issuer identifier. Must be an URL using the
https scheme with no query or fragment
component. Must not be null
.subjectTypes
- The supported subject types. At least one must
be specified. Must not be null
.Method Detail |
---|
public Issuer getIssuer()
issuer
metadata field.
public URL getAuthorizationEndpointURL()
authorization_endpoint
metadata field.
null
if not
specified.public URL getTokenEndpointURL()
token_endpoint
metadata field.
null
if not specified.public URL getUserInfoEndpointURL()
userinfo_endpoint
metadata field.
null
if not specified.public URL getRegistrationEndpointURL()
registration_endpoint
metadata field.
null
if not
specified.public URL getCheckSessionIframeURL()
check_session_iframe
metadata field.
null
if not specified.public URL getEndSessionEndpointURL()
end_session_endpoint
metadata field.
null
if not specified.public URL getJWKSetURI()
jwks_uri
metadata field.
null
if not specified.public Scope getScopes()
scopes_supported
metadata field.
null
if not specified.public Set<ResponseType> getResponseTypes()
response_types_supported
metadata field.
null
if not
specified.public Set<GrantType> getGrantTypes()
grant_types_supported
metadata field.
null
if not specified.public Set<ACR> getACRs()
acr_values_supported
metadata field.
null
if not specified.public Set<SubjectType> getSubjectTypes()
subject_types_supported
metadata field.
public Set<ClientAuthenticationMethod> getTokenEndpointAuthMethods()
token_endpoint_auth_methods_supported
metadata field.
null
if not specified.public Set<com.nimbusds.jose.JWSAlgorithm> getTokenEndpointJWSAlgs()
private_key_jwt
and client_secret_jwt
token endpoint authentication methods.
Corresponds to the
token_endpoint_auth_signing_alg_values_supported
metadata
field.
null
if not specified.public Set<com.nimbusds.jose.JWSAlgorithm> getRequestObjectJWSAlgs()
request_object_signing_alg_values_supported
metadata field.
null
if not specified.public Set<com.nimbusds.jose.JWEAlgorithm> getRequestObjectJWEAlgs()
request_object_encryption_alg_values_supported
metadata
field.
null
if not specified.public Set<com.nimbusds.jose.EncryptionMethod> getRequestObjectJWEEncs()
request_object_encryption_enc_values_supported
metadata
field.
null
if not
specified.public Set<com.nimbusds.jose.JWSAlgorithm> getIDTokenJWSAlgs()
id_token_signing_alg_values_supported
metadata field.
null
if not specified.public Set<com.nimbusds.jose.JWEAlgorithm> getIDTokenJWEAlgs()
id_token_encryption_alg_values_supported
metadata field.
null
if not specified.public Set<com.nimbusds.jose.EncryptionMethod> getIDTokenJWEEncs()
id_token_encryption_enc_values_supported
metadata field.
null
if not
specified.public Set<com.nimbusds.jose.JWSAlgorithm> getUserInfoJWSAlgs()
userinfo_signing_alg_values_supported
metadata field.
null
if not specified.public Set<com.nimbusds.jose.JWEAlgorithm> getUserInfoJWEAlgs()
userinfo_encryption_alg_values_supported
metadata field.
null
if not specified.public Set<com.nimbusds.jose.EncryptionMethod> getUserInfoJWEEncs()
userinfo_encryption_enc_values_supported
metadata
field.
null
if not
specified.public Set<Display> getDisplays()
display_values_supported
metadata field.
null
if not specified.public Set<ClaimType> getClaimTypes()
claim_types_supported
metadata field.
null
if not specified.public Set<String> getClaims()
claims_supported
metadata field.
null
if not specified.public Set<com.nimbusds.langtag.LangTag> getClaimsLocales()
claims_locales_supported
metadata field.
null
if not specified.public Set<com.nimbusds.langtag.LangTag> getUILocales()
ui_locales_supported
metadata field.
null
if not specified.public URL getServiceDocsURL()
service_documentation
metadata field.
null
if not
specified.public URL getPolicyURI()
op_policy_uri
metadata field.
null
if not specified.public URL getTermsOfServiceURI()
op_tos_uri
metadata field.
null
if not specified.public boolean supportsClaimsParam()
claim
authorisation request
parameter. Corresponds to the claims_parameter_supported
metadata field.
true
if the claim
parameter is supported,
else false
.public boolean supportsRequestParam()
request
authorisation request
parameter. Corresponds to the request_parameter_supported
metadata field.
true
if the reqeust
parameter is supported,
else false
.public boolean supportsRequestURIParam()
request_uri
authorisation request
parameter. Corresponds the request_uri_parameter_supported
metadata field.
true
if the request_uri
parameter is
supported, else false
.public boolean requiresRequestURIRegistration()
request_uri
parameter
pre-registration. Corresponds to the
require_request_uri_registration
metadata field.
true
if the request_uri
parameter values
must be pre-registered, else false
.public static OIDCProviderMetadata parse(net.minidev.json.JSONObject jsonObject) throws ParseException
jsonObject
- The JSON object to parse. Must not be
null
.
ParseException
- If the JSON object couldn't be parsed to an
OpenID Connect provider metadata.public static OIDCProviderMetadata parse(String s) throws ParseException
s
- The JSON object sting to parse. Must not be null
.
ParseException
- If the JSON object string couldn't be parsed
to an OpenID Connect provider metadata.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |