Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Ory Oathkeeper API
* Documentation for all of Ory Oathkeeper's APIs.
*
* The version of the OpenAPI document: v1.11.6
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package sh.ory.hydra.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* It includes links to several endpoints (e.g. /oauth2/token) and exposes information on supported signature algorithms among others.
*/
@ApiModel(description = "It includes links to several endpoints (e.g. /oauth2/token) and exposes information on supported signature algorithms among others.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-02-23T08:12:00.883126307Z[Etc/UTC]")
public class WellKnown {
public static final String SERIALIZED_NAME_AUTHORIZATION_ENDPOINT = "authorization_endpoint";
@SerializedName(SERIALIZED_NAME_AUTHORIZATION_ENDPOINT)
private String authorizationEndpoint;
public static final String SERIALIZED_NAME_BACKCHANNEL_LOGOUT_SESSION_SUPPORTED = "backchannel_logout_session_supported";
@SerializedName(SERIALIZED_NAME_BACKCHANNEL_LOGOUT_SESSION_SUPPORTED)
private Boolean backchannelLogoutSessionSupported;
public static final String SERIALIZED_NAME_BACKCHANNEL_LOGOUT_SUPPORTED = "backchannel_logout_supported";
@SerializedName(SERIALIZED_NAME_BACKCHANNEL_LOGOUT_SUPPORTED)
private Boolean backchannelLogoutSupported;
public static final String SERIALIZED_NAME_CLAIMS_PARAMETER_SUPPORTED = "claims_parameter_supported";
@SerializedName(SERIALIZED_NAME_CLAIMS_PARAMETER_SUPPORTED)
private Boolean claimsParameterSupported;
public static final String SERIALIZED_NAME_CLAIMS_SUPPORTED = "claims_supported";
@SerializedName(SERIALIZED_NAME_CLAIMS_SUPPORTED)
private List claimsSupported = null;
public static final String SERIALIZED_NAME_CODE_CHALLENGE_METHODS_SUPPORTED = "code_challenge_methods_supported";
@SerializedName(SERIALIZED_NAME_CODE_CHALLENGE_METHODS_SUPPORTED)
private List codeChallengeMethodsSupported = null;
public static final String SERIALIZED_NAME_END_SESSION_ENDPOINT = "end_session_endpoint";
@SerializedName(SERIALIZED_NAME_END_SESSION_ENDPOINT)
private String endSessionEndpoint;
public static final String SERIALIZED_NAME_FRONTCHANNEL_LOGOUT_SESSION_SUPPORTED = "frontchannel_logout_session_supported";
@SerializedName(SERIALIZED_NAME_FRONTCHANNEL_LOGOUT_SESSION_SUPPORTED)
private Boolean frontchannelLogoutSessionSupported;
public static final String SERIALIZED_NAME_FRONTCHANNEL_LOGOUT_SUPPORTED = "frontchannel_logout_supported";
@SerializedName(SERIALIZED_NAME_FRONTCHANNEL_LOGOUT_SUPPORTED)
private Boolean frontchannelLogoutSupported;
public static final String SERIALIZED_NAME_GRANT_TYPES_SUPPORTED = "grant_types_supported";
@SerializedName(SERIALIZED_NAME_GRANT_TYPES_SUPPORTED)
private List grantTypesSupported = null;
public static final String SERIALIZED_NAME_ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED = "id_token_signing_alg_values_supported";
@SerializedName(SERIALIZED_NAME_ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED)
private List idTokenSigningAlgValuesSupported = new ArrayList<>();
public static final String SERIALIZED_NAME_ISSUER = "issuer";
@SerializedName(SERIALIZED_NAME_ISSUER)
private String issuer;
public static final String SERIALIZED_NAME_JWKS_URI = "jwks_uri";
@SerializedName(SERIALIZED_NAME_JWKS_URI)
private String jwksUri;
public static final String SERIALIZED_NAME_REGISTRATION_ENDPOINT = "registration_endpoint";
@SerializedName(SERIALIZED_NAME_REGISTRATION_ENDPOINT)
private String registrationEndpoint;
public static final String SERIALIZED_NAME_REQUEST_OBJECT_SIGNING_ALG_VALUES_SUPPORTED = "request_object_signing_alg_values_supported";
@SerializedName(SERIALIZED_NAME_REQUEST_OBJECT_SIGNING_ALG_VALUES_SUPPORTED)
private List requestObjectSigningAlgValuesSupported = null;
public static final String SERIALIZED_NAME_REQUEST_PARAMETER_SUPPORTED = "request_parameter_supported";
@SerializedName(SERIALIZED_NAME_REQUEST_PARAMETER_SUPPORTED)
private Boolean requestParameterSupported;
public static final String SERIALIZED_NAME_REQUEST_URI_PARAMETER_SUPPORTED = "request_uri_parameter_supported";
@SerializedName(SERIALIZED_NAME_REQUEST_URI_PARAMETER_SUPPORTED)
private Boolean requestUriParameterSupported;
public static final String SERIALIZED_NAME_REQUIRE_REQUEST_URI_REGISTRATION = "require_request_uri_registration";
@SerializedName(SERIALIZED_NAME_REQUIRE_REQUEST_URI_REGISTRATION)
private Boolean requireRequestUriRegistration;
public static final String SERIALIZED_NAME_RESPONSE_MODES_SUPPORTED = "response_modes_supported";
@SerializedName(SERIALIZED_NAME_RESPONSE_MODES_SUPPORTED)
private List responseModesSupported = null;
public static final String SERIALIZED_NAME_RESPONSE_TYPES_SUPPORTED = "response_types_supported";
@SerializedName(SERIALIZED_NAME_RESPONSE_TYPES_SUPPORTED)
private List responseTypesSupported = new ArrayList<>();
public static final String SERIALIZED_NAME_REVOCATION_ENDPOINT = "revocation_endpoint";
@SerializedName(SERIALIZED_NAME_REVOCATION_ENDPOINT)
private String revocationEndpoint;
public static final String SERIALIZED_NAME_SCOPES_SUPPORTED = "scopes_supported";
@SerializedName(SERIALIZED_NAME_SCOPES_SUPPORTED)
private List scopesSupported = null;
public static final String SERIALIZED_NAME_SUBJECT_TYPES_SUPPORTED = "subject_types_supported";
@SerializedName(SERIALIZED_NAME_SUBJECT_TYPES_SUPPORTED)
private List subjectTypesSupported = new ArrayList<>();
public static final String SERIALIZED_NAME_TOKEN_ENDPOINT = "token_endpoint";
@SerializedName(SERIALIZED_NAME_TOKEN_ENDPOINT)
private String tokenEndpoint;
public static final String SERIALIZED_NAME_TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED = "token_endpoint_auth_methods_supported";
@SerializedName(SERIALIZED_NAME_TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED)
private List tokenEndpointAuthMethodsSupported = null;
public static final String SERIALIZED_NAME_USERINFO_ENDPOINT = "userinfo_endpoint";
@SerializedName(SERIALIZED_NAME_USERINFO_ENDPOINT)
private String userinfoEndpoint;
public static final String SERIALIZED_NAME_USERINFO_SIGNING_ALG_VALUES_SUPPORTED = "userinfo_signing_alg_values_supported";
@SerializedName(SERIALIZED_NAME_USERINFO_SIGNING_ALG_VALUES_SUPPORTED)
private List userinfoSigningAlgValuesSupported = null;
public WellKnown() {
}
public WellKnown authorizationEndpoint(String authorizationEndpoint) {
this.authorizationEndpoint = authorizationEndpoint;
return this;
}
/**
* URL of the OP's OAuth 2.0 Authorization Endpoint.
* @return authorizationEndpoint
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "https://playground.ory.sh/ory-hydra/public/oauth2/auth", required = true, value = "URL of the OP's OAuth 2.0 Authorization Endpoint.")
public String getAuthorizationEndpoint() {
return authorizationEndpoint;
}
public void setAuthorizationEndpoint(String authorizationEndpoint) {
this.authorizationEndpoint = authorizationEndpoint;
}
public WellKnown backchannelLogoutSessionSupported(Boolean backchannelLogoutSessionSupported) {
this.backchannelLogoutSessionSupported = backchannelLogoutSessionSupported;
return this;
}
/**
* Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP
* @return backchannelLogoutSessionSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP")
public Boolean getBackchannelLogoutSessionSupported() {
return backchannelLogoutSessionSupported;
}
public void setBackchannelLogoutSessionSupported(Boolean backchannelLogoutSessionSupported) {
this.backchannelLogoutSessionSupported = backchannelLogoutSessionSupported;
}
public WellKnown backchannelLogoutSupported(Boolean backchannelLogoutSupported) {
this.backchannelLogoutSupported = backchannelLogoutSupported;
return this;
}
/**
* Boolean value specifying whether the OP supports back-channel logout, with true indicating support.
* @return backchannelLogoutSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Boolean value specifying whether the OP supports back-channel logout, with true indicating support.")
public Boolean getBackchannelLogoutSupported() {
return backchannelLogoutSupported;
}
public void setBackchannelLogoutSupported(Boolean backchannelLogoutSupported) {
this.backchannelLogoutSupported = backchannelLogoutSupported;
}
public WellKnown claimsParameterSupported(Boolean claimsParameterSupported) {
this.claimsParameterSupported = claimsParameterSupported;
return this;
}
/**
* Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support.
* @return claimsParameterSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support.")
public Boolean getClaimsParameterSupported() {
return claimsParameterSupported;
}
public void setClaimsParameterSupported(Boolean claimsParameterSupported) {
this.claimsParameterSupported = claimsParameterSupported;
}
public WellKnown claimsSupported(List claimsSupported) {
this.claimsSupported = claimsSupported;
return this;
}
public WellKnown addClaimsSupportedItem(String claimsSupportedItem) {
if (this.claimsSupported == null) {
this.claimsSupported = new ArrayList<>();
}
this.claimsSupported.add(claimsSupportedItem);
return this;
}
/**
* JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.
* @return claimsSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.")
public List getClaimsSupported() {
return claimsSupported;
}
public void setClaimsSupported(List claimsSupported) {
this.claimsSupported = claimsSupported;
}
public WellKnown codeChallengeMethodsSupported(List codeChallengeMethodsSupported) {
this.codeChallengeMethodsSupported = codeChallengeMethodsSupported;
return this;
}
public WellKnown addCodeChallengeMethodsSupportedItem(String codeChallengeMethodsSupportedItem) {
if (this.codeChallengeMethodsSupported == null) {
this.codeChallengeMethodsSupported = new ArrayList<>();
}
this.codeChallengeMethodsSupported.add(codeChallengeMethodsSupportedItem);
return this;
}
/**
* JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.
* @return codeChallengeMethodsSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.")
public List getCodeChallengeMethodsSupported() {
return codeChallengeMethodsSupported;
}
public void setCodeChallengeMethodsSupported(List codeChallengeMethodsSupported) {
this.codeChallengeMethodsSupported = codeChallengeMethodsSupported;
}
public WellKnown endSessionEndpoint(String endSessionEndpoint) {
this.endSessionEndpoint = endSessionEndpoint;
return this;
}
/**
* URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.
* @return endSessionEndpoint
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.")
public String getEndSessionEndpoint() {
return endSessionEndpoint;
}
public void setEndSessionEndpoint(String endSessionEndpoint) {
this.endSessionEndpoint = endSessionEndpoint;
}
public WellKnown frontchannelLogoutSessionSupported(Boolean frontchannelLogoutSessionSupported) {
this.frontchannelLogoutSessionSupported = frontchannelLogoutSessionSupported;
return this;
}
/**
* Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP.
* @return frontchannelLogoutSessionSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP.")
public Boolean getFrontchannelLogoutSessionSupported() {
return frontchannelLogoutSessionSupported;
}
public void setFrontchannelLogoutSessionSupported(Boolean frontchannelLogoutSessionSupported) {
this.frontchannelLogoutSessionSupported = frontchannelLogoutSessionSupported;
}
public WellKnown frontchannelLogoutSupported(Boolean frontchannelLogoutSupported) {
this.frontchannelLogoutSupported = frontchannelLogoutSupported;
return this;
}
/**
* Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support.
* @return frontchannelLogoutSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support.")
public Boolean getFrontchannelLogoutSupported() {
return frontchannelLogoutSupported;
}
public void setFrontchannelLogoutSupported(Boolean frontchannelLogoutSupported) {
this.frontchannelLogoutSupported = frontchannelLogoutSupported;
}
public WellKnown grantTypesSupported(List grantTypesSupported) {
this.grantTypesSupported = grantTypesSupported;
return this;
}
public WellKnown addGrantTypesSupportedItem(String grantTypesSupportedItem) {
if (this.grantTypesSupported == null) {
this.grantTypesSupported = new ArrayList<>();
}
this.grantTypesSupported.add(grantTypesSupportedItem);
return this;
}
/**
* JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports.
* @return grantTypesSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports.")
public List getGrantTypesSupported() {
return grantTypesSupported;
}
public void setGrantTypesSupported(List grantTypesSupported) {
this.grantTypesSupported = grantTypesSupported;
}
public WellKnown idTokenSigningAlgValuesSupported(List idTokenSigningAlgValuesSupported) {
this.idTokenSigningAlgValuesSupported = idTokenSigningAlgValuesSupported;
return this;
}
public WellKnown addIdTokenSigningAlgValuesSupportedItem(String idTokenSigningAlgValuesSupportedItem) {
this.idTokenSigningAlgValuesSupported.add(idTokenSigningAlgValuesSupportedItem);
return this;
}
/**
* JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT.
* @return idTokenSigningAlgValuesSupported
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT.")
public List getIdTokenSigningAlgValuesSupported() {
return idTokenSigningAlgValuesSupported;
}
public void setIdTokenSigningAlgValuesSupported(List idTokenSigningAlgValuesSupported) {
this.idTokenSigningAlgValuesSupported = idTokenSigningAlgValuesSupported;
}
public WellKnown issuer(String issuer) {
this.issuer = issuer;
return this;
}
/**
* URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL.
* @return issuer
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "https://playground.ory.sh/ory-hydra/public/", required = true, value = "URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL.")
public String getIssuer() {
return issuer;
}
public void setIssuer(String issuer) {
this.issuer = issuer;
}
public WellKnown jwksUri(String jwksUri) {
this.jwksUri = jwksUri;
return this;
}
/**
* URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.
* @return jwksUri
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "https://playground.ory.sh/ory-hydra/public/.well-known/jwks.json", required = true, value = "URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.")
public String getJwksUri() {
return jwksUri;
}
public void setJwksUri(String jwksUri) {
this.jwksUri = jwksUri;
}
public WellKnown registrationEndpoint(String registrationEndpoint) {
this.registrationEndpoint = registrationEndpoint;
return this;
}
/**
* URL of the OP's Dynamic Client Registration Endpoint.
* @return registrationEndpoint
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "https://playground.ory.sh/ory-hydra/admin/client", value = "URL of the OP's Dynamic Client Registration Endpoint.")
public String getRegistrationEndpoint() {
return registrationEndpoint;
}
public void setRegistrationEndpoint(String registrationEndpoint) {
this.registrationEndpoint = registrationEndpoint;
}
public WellKnown requestObjectSigningAlgValuesSupported(List requestObjectSigningAlgValuesSupported) {
this.requestObjectSigningAlgValuesSupported = requestObjectSigningAlgValuesSupported;
return this;
}
public WellKnown addRequestObjectSigningAlgValuesSupportedItem(String requestObjectSigningAlgValuesSupportedItem) {
if (this.requestObjectSigningAlgValuesSupported == null) {
this.requestObjectSigningAlgValuesSupported = new ArrayList<>();
}
this.requestObjectSigningAlgValuesSupported.add(requestObjectSigningAlgValuesSupportedItem);
return this;
}
/**
* JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter).
* @return requestObjectSigningAlgValuesSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter).")
public List getRequestObjectSigningAlgValuesSupported() {
return requestObjectSigningAlgValuesSupported;
}
public void setRequestObjectSigningAlgValuesSupported(List requestObjectSigningAlgValuesSupported) {
this.requestObjectSigningAlgValuesSupported = requestObjectSigningAlgValuesSupported;
}
public WellKnown requestParameterSupported(Boolean requestParameterSupported) {
this.requestParameterSupported = requestParameterSupported;
return this;
}
/**
* Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.
* @return requestParameterSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.")
public Boolean getRequestParameterSupported() {
return requestParameterSupported;
}
public void setRequestParameterSupported(Boolean requestParameterSupported) {
this.requestParameterSupported = requestParameterSupported;
}
public WellKnown requestUriParameterSupported(Boolean requestUriParameterSupported) {
this.requestUriParameterSupported = requestUriParameterSupported;
return this;
}
/**
* Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.
* @return requestUriParameterSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.")
public Boolean getRequestUriParameterSupported() {
return requestUriParameterSupported;
}
public void setRequestUriParameterSupported(Boolean requestUriParameterSupported) {
this.requestUriParameterSupported = requestUriParameterSupported;
}
public WellKnown requireRequestUriRegistration(Boolean requireRequestUriRegistration) {
this.requireRequestUriRegistration = requireRequestUriRegistration;
return this;
}
/**
* Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter.
* @return requireRequestUriRegistration
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter.")
public Boolean getRequireRequestUriRegistration() {
return requireRequestUriRegistration;
}
public void setRequireRequestUriRegistration(Boolean requireRequestUriRegistration) {
this.requireRequestUriRegistration = requireRequestUriRegistration;
}
public WellKnown responseModesSupported(List responseModesSupported) {
this.responseModesSupported = responseModesSupported;
return this;
}
public WellKnown addResponseModesSupportedItem(String responseModesSupportedItem) {
if (this.responseModesSupported == null) {
this.responseModesSupported = new ArrayList<>();
}
this.responseModesSupported.add(responseModesSupportedItem);
return this;
}
/**
* JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports.
* @return responseModesSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports.")
public List getResponseModesSupported() {
return responseModesSupported;
}
public void setResponseModesSupported(List responseModesSupported) {
this.responseModesSupported = responseModesSupported;
}
public WellKnown responseTypesSupported(List responseTypesSupported) {
this.responseTypesSupported = responseTypesSupported;
return this;
}
public WellKnown addResponseTypesSupportedItem(String responseTypesSupportedItem) {
this.responseTypesSupported.add(responseTypesSupportedItem);
return this;
}
/**
* JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values.
* @return responseTypesSupported
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values.")
public List getResponseTypesSupported() {
return responseTypesSupported;
}
public void setResponseTypesSupported(List responseTypesSupported) {
this.responseTypesSupported = responseTypesSupported;
}
public WellKnown revocationEndpoint(String revocationEndpoint) {
this.revocationEndpoint = revocationEndpoint;
return this;
}
/**
* URL of the authorization server's OAuth 2.0 revocation endpoint.
* @return revocationEndpoint
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "URL of the authorization server's OAuth 2.0 revocation endpoint.")
public String getRevocationEndpoint() {
return revocationEndpoint;
}
public void setRevocationEndpoint(String revocationEndpoint) {
this.revocationEndpoint = revocationEndpoint;
}
public WellKnown scopesSupported(List scopesSupported) {
this.scopesSupported = scopesSupported;
return this;
}
public WellKnown addScopesSupportedItem(String scopesSupportedItem) {
if (this.scopesSupported == null) {
this.scopesSupported = new ArrayList<>();
}
this.scopesSupported.add(scopesSupportedItem);
return this;
}
/**
* SON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used
* @return scopesSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "SON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used")
public List getScopesSupported() {
return scopesSupported;
}
public void setScopesSupported(List scopesSupported) {
this.scopesSupported = scopesSupported;
}
public WellKnown subjectTypesSupported(List subjectTypesSupported) {
this.subjectTypesSupported = subjectTypesSupported;
return this;
}
public WellKnown addSubjectTypesSupportedItem(String subjectTypesSupportedItem) {
this.subjectTypesSupported.add(subjectTypesSupportedItem);
return this;
}
/**
* JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public.
* @return subjectTypesSupported
**/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public.")
public List getSubjectTypesSupported() {
return subjectTypesSupported;
}
public void setSubjectTypesSupported(List subjectTypesSupported) {
this.subjectTypesSupported = subjectTypesSupported;
}
public WellKnown tokenEndpoint(String tokenEndpoint) {
this.tokenEndpoint = tokenEndpoint;
return this;
}
/**
* URL of the OP's OAuth 2.0 Token Endpoint
* @return tokenEndpoint
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "https://playground.ory.sh/ory-hydra/public/oauth2/token", required = true, value = "URL of the OP's OAuth 2.0 Token Endpoint")
public String getTokenEndpoint() {
return tokenEndpoint;
}
public void setTokenEndpoint(String tokenEndpoint) {
this.tokenEndpoint = tokenEndpoint;
}
public WellKnown tokenEndpointAuthMethodsSupported(List tokenEndpointAuthMethodsSupported) {
this.tokenEndpointAuthMethodsSupported = tokenEndpointAuthMethodsSupported;
return this;
}
public WellKnown addTokenEndpointAuthMethodsSupportedItem(String tokenEndpointAuthMethodsSupportedItem) {
if (this.tokenEndpointAuthMethodsSupported == null) {
this.tokenEndpointAuthMethodsSupported = new ArrayList<>();
}
this.tokenEndpointAuthMethodsSupported.add(tokenEndpointAuthMethodsSupportedItem);
return this;
}
/**
* JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0
* @return tokenEndpointAuthMethodsSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0")
public List getTokenEndpointAuthMethodsSupported() {
return tokenEndpointAuthMethodsSupported;
}
public void setTokenEndpointAuthMethodsSupported(List tokenEndpointAuthMethodsSupported) {
this.tokenEndpointAuthMethodsSupported = tokenEndpointAuthMethodsSupported;
}
public WellKnown userinfoEndpoint(String userinfoEndpoint) {
this.userinfoEndpoint = userinfoEndpoint;
return this;
}
/**
* URL of the OP's UserInfo Endpoint.
* @return userinfoEndpoint
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "URL of the OP's UserInfo Endpoint.")
public String getUserinfoEndpoint() {
return userinfoEndpoint;
}
public void setUserinfoEndpoint(String userinfoEndpoint) {
this.userinfoEndpoint = userinfoEndpoint;
}
public WellKnown userinfoSigningAlgValuesSupported(List userinfoSigningAlgValuesSupported) {
this.userinfoSigningAlgValuesSupported = userinfoSigningAlgValuesSupported;
return this;
}
public WellKnown addUserinfoSigningAlgValuesSupportedItem(String userinfoSigningAlgValuesSupportedItem) {
if (this.userinfoSigningAlgValuesSupported == null) {
this.userinfoSigningAlgValuesSupported = new ArrayList<>();
}
this.userinfoSigningAlgValuesSupported.add(userinfoSigningAlgValuesSupportedItem);
return this;
}
/**
* JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
* @return userinfoSigningAlgValuesSupported
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].")
public List getUserinfoSigningAlgValuesSupported() {
return userinfoSigningAlgValuesSupported;
}
public void setUserinfoSigningAlgValuesSupported(List userinfoSigningAlgValuesSupported) {
this.userinfoSigningAlgValuesSupported = userinfoSigningAlgValuesSupported;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
WellKnown wellKnown = (WellKnown) o;
return Objects.equals(this.authorizationEndpoint, wellKnown.authorizationEndpoint) &&
Objects.equals(this.backchannelLogoutSessionSupported, wellKnown.backchannelLogoutSessionSupported) &&
Objects.equals(this.backchannelLogoutSupported, wellKnown.backchannelLogoutSupported) &&
Objects.equals(this.claimsParameterSupported, wellKnown.claimsParameterSupported) &&
Objects.equals(this.claimsSupported, wellKnown.claimsSupported) &&
Objects.equals(this.codeChallengeMethodsSupported, wellKnown.codeChallengeMethodsSupported) &&
Objects.equals(this.endSessionEndpoint, wellKnown.endSessionEndpoint) &&
Objects.equals(this.frontchannelLogoutSessionSupported, wellKnown.frontchannelLogoutSessionSupported) &&
Objects.equals(this.frontchannelLogoutSupported, wellKnown.frontchannelLogoutSupported) &&
Objects.equals(this.grantTypesSupported, wellKnown.grantTypesSupported) &&
Objects.equals(this.idTokenSigningAlgValuesSupported, wellKnown.idTokenSigningAlgValuesSupported) &&
Objects.equals(this.issuer, wellKnown.issuer) &&
Objects.equals(this.jwksUri, wellKnown.jwksUri) &&
Objects.equals(this.registrationEndpoint, wellKnown.registrationEndpoint) &&
Objects.equals(this.requestObjectSigningAlgValuesSupported, wellKnown.requestObjectSigningAlgValuesSupported) &&
Objects.equals(this.requestParameterSupported, wellKnown.requestParameterSupported) &&
Objects.equals(this.requestUriParameterSupported, wellKnown.requestUriParameterSupported) &&
Objects.equals(this.requireRequestUriRegistration, wellKnown.requireRequestUriRegistration) &&
Objects.equals(this.responseModesSupported, wellKnown.responseModesSupported) &&
Objects.equals(this.responseTypesSupported, wellKnown.responseTypesSupported) &&
Objects.equals(this.revocationEndpoint, wellKnown.revocationEndpoint) &&
Objects.equals(this.scopesSupported, wellKnown.scopesSupported) &&
Objects.equals(this.subjectTypesSupported, wellKnown.subjectTypesSupported) &&
Objects.equals(this.tokenEndpoint, wellKnown.tokenEndpoint) &&
Objects.equals(this.tokenEndpointAuthMethodsSupported, wellKnown.tokenEndpointAuthMethodsSupported) &&
Objects.equals(this.userinfoEndpoint, wellKnown.userinfoEndpoint) &&
Objects.equals(this.userinfoSigningAlgValuesSupported, wellKnown.userinfoSigningAlgValuesSupported);
}
@Override
public int hashCode() {
return Objects.hash(authorizationEndpoint, backchannelLogoutSessionSupported, backchannelLogoutSupported, claimsParameterSupported, claimsSupported, codeChallengeMethodsSupported, endSessionEndpoint, frontchannelLogoutSessionSupported, frontchannelLogoutSupported, grantTypesSupported, idTokenSigningAlgValuesSupported, issuer, jwksUri, registrationEndpoint, requestObjectSigningAlgValuesSupported, requestParameterSupported, requestUriParameterSupported, requireRequestUriRegistration, responseModesSupported, responseTypesSupported, revocationEndpoint, scopesSupported, subjectTypesSupported, tokenEndpoint, tokenEndpointAuthMethodsSupported, userinfoEndpoint, userinfoSigningAlgValuesSupported);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class WellKnown {\n");
sb.append(" authorizationEndpoint: ").append(toIndentedString(authorizationEndpoint)).append("\n");
sb.append(" backchannelLogoutSessionSupported: ").append(toIndentedString(backchannelLogoutSessionSupported)).append("\n");
sb.append(" backchannelLogoutSupported: ").append(toIndentedString(backchannelLogoutSupported)).append("\n");
sb.append(" claimsParameterSupported: ").append(toIndentedString(claimsParameterSupported)).append("\n");
sb.append(" claimsSupported: ").append(toIndentedString(claimsSupported)).append("\n");
sb.append(" codeChallengeMethodsSupported: ").append(toIndentedString(codeChallengeMethodsSupported)).append("\n");
sb.append(" endSessionEndpoint: ").append(toIndentedString(endSessionEndpoint)).append("\n");
sb.append(" frontchannelLogoutSessionSupported: ").append(toIndentedString(frontchannelLogoutSessionSupported)).append("\n");
sb.append(" frontchannelLogoutSupported: ").append(toIndentedString(frontchannelLogoutSupported)).append("\n");
sb.append(" grantTypesSupported: ").append(toIndentedString(grantTypesSupported)).append("\n");
sb.append(" idTokenSigningAlgValuesSupported: ").append(toIndentedString(idTokenSigningAlgValuesSupported)).append("\n");
sb.append(" issuer: ").append(toIndentedString(issuer)).append("\n");
sb.append(" jwksUri: ").append(toIndentedString(jwksUri)).append("\n");
sb.append(" registrationEndpoint: ").append(toIndentedString(registrationEndpoint)).append("\n");
sb.append(" requestObjectSigningAlgValuesSupported: ").append(toIndentedString(requestObjectSigningAlgValuesSupported)).append("\n");
sb.append(" requestParameterSupported: ").append(toIndentedString(requestParameterSupported)).append("\n");
sb.append(" requestUriParameterSupported: ").append(toIndentedString(requestUriParameterSupported)).append("\n");
sb.append(" requireRequestUriRegistration: ").append(toIndentedString(requireRequestUriRegistration)).append("\n");
sb.append(" responseModesSupported: ").append(toIndentedString(responseModesSupported)).append("\n");
sb.append(" responseTypesSupported: ").append(toIndentedString(responseTypesSupported)).append("\n");
sb.append(" revocationEndpoint: ").append(toIndentedString(revocationEndpoint)).append("\n");
sb.append(" scopesSupported: ").append(toIndentedString(scopesSupported)).append("\n");
sb.append(" subjectTypesSupported: ").append(toIndentedString(subjectTypesSupported)).append("\n");
sb.append(" tokenEndpoint: ").append(toIndentedString(tokenEndpoint)).append("\n");
sb.append(" tokenEndpointAuthMethodsSupported: ").append(toIndentedString(tokenEndpointAuthMethodsSupported)).append("\n");
sb.append(" userinfoEndpoint: ").append(toIndentedString(userinfoEndpoint)).append("\n");
sb.append(" userinfoSigningAlgValuesSupported: ").append(toIndentedString(userinfoSigningAlgValuesSupported)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}