Class OAuthMetadata

java.lang.Object
com.okta.sdk.resource.model.OAuthMetadata
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class OAuthMetadata extends Object implements Serializable
OAuthMetadata
See Also:
  • Field Details

    • JSON_PROPERTY_AUTHORIZATION_ENDPOINT

      public static final String JSON_PROPERTY_AUTHORIZATION_ENDPOINT
      See Also:
    • JSON_PROPERTY_BACKCHANNEL_AUTHENTICATION_REQUEST_SIGNING_ALG_VALUES_SUPPORTED

      public static final String JSON_PROPERTY_BACKCHANNEL_AUTHENTICATION_REQUEST_SIGNING_ALG_VALUES_SUPPORTED
      See Also:
    • JSON_PROPERTY_BACKCHANNEL_TOKEN_DELIVERY_MODES_SUPPORTED

      public static final String JSON_PROPERTY_BACKCHANNEL_TOKEN_DELIVERY_MODES_SUPPORTED
      See Also:
    • JSON_PROPERTY_CLAIMS_SUPPORTED

      public static final String JSON_PROPERTY_CLAIMS_SUPPORTED
      See Also:
    • JSON_PROPERTY_CODE_CHALLENGE_METHODS_SUPPORTED

      public static final String JSON_PROPERTY_CODE_CHALLENGE_METHODS_SUPPORTED
      See Also:
    • JSON_PROPERTY_DEVICE_AUTHORIZATION_ENDPOINT

      public static final String JSON_PROPERTY_DEVICE_AUTHORIZATION_ENDPOINT
      See Also:
    • JSON_PROPERTY_DPOP_SIGNING_ALG_VALUES_SUPPORTED

      public static final String JSON_PROPERTY_DPOP_SIGNING_ALG_VALUES_SUPPORTED
      See Also:
    • JSON_PROPERTY_END_SESSION_ENDPOINT

      public static final String JSON_PROPERTY_END_SESSION_ENDPOINT
      See Also:
    • JSON_PROPERTY_GRANT_TYPES_SUPPORTED

      public static final String JSON_PROPERTY_GRANT_TYPES_SUPPORTED
      See Also:
    • JSON_PROPERTY_INTROSPECTION_ENDPOINT

      public static final String JSON_PROPERTY_INTROSPECTION_ENDPOINT
      See Also:
    • JSON_PROPERTY_INTROSPECTION_ENDPOINT_AUTH_METHODS_SUPPORTED

      public static final String JSON_PROPERTY_INTROSPECTION_ENDPOINT_AUTH_METHODS_SUPPORTED
      See Also:
    • JSON_PROPERTY_ISSUER

      public static final String JSON_PROPERTY_ISSUER
      See Also:
    • JSON_PROPERTY_JWKS_URI

      public static final String JSON_PROPERTY_JWKS_URI
      See Also:
    • JSON_PROPERTY_PUSHED_AUTHORIZATION_REQUEST_ENDPOINT

      public static final String JSON_PROPERTY_PUSHED_AUTHORIZATION_REQUEST_ENDPOINT
      See Also:
    • JSON_PROPERTY_REGISTRATION_ENDPOINT

      public static final String JSON_PROPERTY_REGISTRATION_ENDPOINT
      See Also:
    • JSON_PROPERTY_REQUEST_OBJECT_SIGNING_ALG_VALUES_SUPPORTED

      public static final String JSON_PROPERTY_REQUEST_OBJECT_SIGNING_ALG_VALUES_SUPPORTED
      See Also:
    • JSON_PROPERTY_REQUEST_PARAMETER_SUPPORTED

      public static final String JSON_PROPERTY_REQUEST_PARAMETER_SUPPORTED
      See Also:
    • JSON_PROPERTY_RESPONSE_MODES_SUPPORTED

      public static final String JSON_PROPERTY_RESPONSE_MODES_SUPPORTED
      See Also:
    • JSON_PROPERTY_RESPONSE_TYPES_SUPPORTED

      public static final String JSON_PROPERTY_RESPONSE_TYPES_SUPPORTED
      See Also:
    • JSON_PROPERTY_REVOCATION_ENDPOINT

      public static final String JSON_PROPERTY_REVOCATION_ENDPOINT
      See Also:
    • JSON_PROPERTY_REVOCATION_ENDPOINT_AUTH_METHODS_SUPPORTED

      public static final String JSON_PROPERTY_REVOCATION_ENDPOINT_AUTH_METHODS_SUPPORTED
      See Also:
    • JSON_PROPERTY_SCOPES_SUPPORTED

      public static final String JSON_PROPERTY_SCOPES_SUPPORTED
      See Also:
    • JSON_PROPERTY_SUBJECT_TYPES_SUPPORTED

      public static final String JSON_PROPERTY_SUBJECT_TYPES_SUPPORTED
      See Also:
    • JSON_PROPERTY_TOKEN_ENDPOINT

      public static final String JSON_PROPERTY_TOKEN_ENDPOINT
      See Also:
    • JSON_PROPERTY_TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED

      public static final String JSON_PROPERTY_TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED
      See Also:
  • Constructor Details

    • OAuthMetadata

      public OAuthMetadata()
  • Method Details

    • authorizationEndpoint

      public OAuthMetadata authorizationEndpoint(String authorizationEndpoint)
    • getAuthorizationEndpoint

      @Nullable public String getAuthorizationEndpoint()
      URL of the authorization server's authorization endpoint.
      Returns:
      authorizationEndpoint
    • setAuthorizationEndpoint

      public void setAuthorizationEndpoint(String authorizationEndpoint)
    • backchannelAuthenticationRequestSigningAlgValuesSupported

      public OAuthMetadata backchannelAuthenticationRequestSigningAlgValuesSupported(List<SigningAlgorithm> backchannelAuthenticationRequestSigningAlgValuesSupported)
    • addbackchannelAuthenticationRequestSigningAlgValuesSupportedItem

      public OAuthMetadata addbackchannelAuthenticationRequestSigningAlgValuesSupportedItem(SigningAlgorithm backchannelAuthenticationRequestSigningAlgValuesSupportedItem)
    • getBackchannelAuthenticationRequestSigningAlgValuesSupported

      @Nullable public List<SigningAlgorithm> getBackchannelAuthenticationRequestSigningAlgValuesSupported()
      <div class=\"x-lifecycle-container\"><x-lifecycle class=\"lea\"></x-lifecycle> <x-lifecycle class=\"oie\"></x-lifecycle></div>A list of signing algorithms that this authorization server supports for signed requests.
      Returns:
      backchannelAuthenticationRequestSigningAlgValuesSupported
    • setBackchannelAuthenticationRequestSigningAlgValuesSupported

      public void setBackchannelAuthenticationRequestSigningAlgValuesSupported(List<SigningAlgorithm> backchannelAuthenticationRequestSigningAlgValuesSupported)
    • backchannelTokenDeliveryModesSupported

      public OAuthMetadata backchannelTokenDeliveryModesSupported(List<TokenDeliveryMode> backchannelTokenDeliveryModesSupported)
    • addbackchannelTokenDeliveryModesSupportedItem

      public OAuthMetadata addbackchannelTokenDeliveryModesSupportedItem(TokenDeliveryMode backchannelTokenDeliveryModesSupportedItem)
    • getBackchannelTokenDeliveryModesSupported

      @Nullable public List<TokenDeliveryMode> getBackchannelTokenDeliveryModesSupported()
      <div class=\"x-lifecycle-container\"><x-lifecycle class=\"lea\"></x-lifecycle> <x-lifecycle class=\"oie\"></x-lifecycle></div>The delivery modes that this authorization server supports for Client-Initiated Backchannel Authentication.
      Returns:
      backchannelTokenDeliveryModesSupported
    • setBackchannelTokenDeliveryModesSupported

      public void setBackchannelTokenDeliveryModesSupported(List<TokenDeliveryMode> backchannelTokenDeliveryModesSupported)
    • claimsSupported

      public OAuthMetadata claimsSupported(List<String> claimsSupported)
    • addclaimsSupportedItem

      public OAuthMetadata addclaimsSupportedItem(String claimsSupportedItem)
    • getClaimsSupported

      @Nullable public List<String> getClaimsSupported()
      A list of the claims supported by this authorization server.
      Returns:
      claimsSupported
    • setClaimsSupported

      public void setClaimsSupported(List<String> claimsSupported)
    • codeChallengeMethodsSupported

      public OAuthMetadata codeChallengeMethodsSupported(List<CodeChallengeMethod> codeChallengeMethodsSupported)
    • addcodeChallengeMethodsSupportedItem

      public OAuthMetadata addcodeChallengeMethodsSupportedItem(CodeChallengeMethod codeChallengeMethodsSupportedItem)
    • getCodeChallengeMethodsSupported

      @Nullable public List<CodeChallengeMethod> getCodeChallengeMethodsSupported()
      A list of PKCE code challenge methods supported by this authorization server.
      Returns:
      codeChallengeMethodsSupported
    • setCodeChallengeMethodsSupported

      public void setCodeChallengeMethodsSupported(List<CodeChallengeMethod> codeChallengeMethodsSupported)
    • deviceAuthorizationEndpoint

      public OAuthMetadata deviceAuthorizationEndpoint(String deviceAuthorizationEndpoint)
    • getDeviceAuthorizationEndpoint

      @Nullable public String getDeviceAuthorizationEndpoint()
      Get deviceAuthorizationEndpoint
      Returns:
      deviceAuthorizationEndpoint
    • setDeviceAuthorizationEndpoint

      public void setDeviceAuthorizationEndpoint(String deviceAuthorizationEndpoint)
    • dpopSigningAlgValuesSupported

      public OAuthMetadata dpopSigningAlgValuesSupported(List<OAuthMetadata.DpopSigningAlgValuesSupportedEnum> dpopSigningAlgValuesSupported)
    • adddpopSigningAlgValuesSupportedItem

      public OAuthMetadata adddpopSigningAlgValuesSupportedItem(OAuthMetadata.DpopSigningAlgValuesSupportedEnum dpopSigningAlgValuesSupportedItem)
    • getDpopSigningAlgValuesSupported

      @Nullable public List<OAuthMetadata.DpopSigningAlgValuesSupportedEnum> getDpopSigningAlgValuesSupported()
      A list of signing algorithms supported by this authorization server for Demonstrating Proof-of-Possession (DPoP) JWTs.
      Returns:
      dpopSigningAlgValuesSupported
    • setDpopSigningAlgValuesSupported

      public void setDpopSigningAlgValuesSupported(List<OAuthMetadata.DpopSigningAlgValuesSupportedEnum> dpopSigningAlgValuesSupported)
    • endSessionEndpoint

      public OAuthMetadata endSessionEndpoint(String endSessionEndpoint)
    • getEndSessionEndpoint

      @Nullable public String getEndSessionEndpoint()
      URL of the authorization server's logout endpoint.
      Returns:
      endSessionEndpoint
    • setEndSessionEndpoint

      public void setEndSessionEndpoint(String endSessionEndpoint)
    • grantTypesSupported

      public OAuthMetadata grantTypesSupported(List<GrantType> grantTypesSupported)
    • addgrantTypesSupportedItem

      public OAuthMetadata addgrantTypesSupportedItem(GrantType grantTypesSupportedItem)
    • getGrantTypesSupported

      @Nullable public List<GrantType> getGrantTypesSupported()
      A list of the grant type values that this authorization server supports.
      Returns:
      grantTypesSupported
    • setGrantTypesSupported

      public void setGrantTypesSupported(List<GrantType> grantTypesSupported)
    • introspectionEndpoint

      public OAuthMetadata introspectionEndpoint(String introspectionEndpoint)
    • getIntrospectionEndpoint

      @Nullable public String getIntrospectionEndpoint()
      URL of the authorization server's introspection endpoint.
      Returns:
      introspectionEndpoint
    • setIntrospectionEndpoint

      public void setIntrospectionEndpoint(String introspectionEndpoint)
    • introspectionEndpointAuthMethodsSupported

      public OAuthMetadata introspectionEndpointAuthMethodsSupported(List<EndpointAuthMethod> introspectionEndpointAuthMethodsSupported)
    • addintrospectionEndpointAuthMethodsSupportedItem

      public OAuthMetadata addintrospectionEndpointAuthMethodsSupportedItem(EndpointAuthMethod introspectionEndpointAuthMethodsSupportedItem)
    • getIntrospectionEndpointAuthMethodsSupported

      @Nullable public List<EndpointAuthMethod> getIntrospectionEndpointAuthMethodsSupported()
      A list of client authentication methods supported by this introspection endpoint.
      Returns:
      introspectionEndpointAuthMethodsSupported
    • setIntrospectionEndpointAuthMethodsSupported

      public void setIntrospectionEndpointAuthMethodsSupported(List<EndpointAuthMethod> introspectionEndpointAuthMethodsSupported)
    • issuer

      public OAuthMetadata issuer(String issuer)
    • getIssuer

      @Nullable public String getIssuer()
      The authorization server's issuer identifier. In the context of this document, this is your authorization server's base URL. This becomes the `iss` claim in an access token.
      Returns:
      issuer
    • setIssuer

      public void setIssuer(String issuer)
    • jwksUri

      public OAuthMetadata jwksUri(String jwksUri)
    • getJwksUri

      @Nullable public String getJwksUri()
      URL of the authorization server's JSON Web Key Set document.
      Returns:
      jwksUri
    • setJwksUri

      public void setJwksUri(String jwksUri)
    • pushedAuthorizationRequestEndpoint

      public OAuthMetadata pushedAuthorizationRequestEndpoint(String pushedAuthorizationRequestEndpoint)
    • getPushedAuthorizationRequestEndpoint

      @Nullable public String getPushedAuthorizationRequestEndpoint()
      Get pushedAuthorizationRequestEndpoint
      Returns:
      pushedAuthorizationRequestEndpoint
    • setPushedAuthorizationRequestEndpoint

      public void setPushedAuthorizationRequestEndpoint(String pushedAuthorizationRequestEndpoint)
    • registrationEndpoint

      public OAuthMetadata registrationEndpoint(String registrationEndpoint)
    • getRegistrationEndpoint

      @Nullable public String getRegistrationEndpoint()
      URL of the authorization server's JSON Web Key Set document.
      Returns:
      registrationEndpoint
    • setRegistrationEndpoint

      public void setRegistrationEndpoint(String registrationEndpoint)
    • requestObjectSigningAlgValuesSupported

      public OAuthMetadata requestObjectSigningAlgValuesSupported(List<SigningAlgorithm> requestObjectSigningAlgValuesSupported)
    • addrequestObjectSigningAlgValuesSupportedItem

      public OAuthMetadata addrequestObjectSigningAlgValuesSupportedItem(SigningAlgorithm requestObjectSigningAlgValuesSupportedItem)
    • getRequestObjectSigningAlgValuesSupported

      @Nullable public List<SigningAlgorithm> getRequestObjectSigningAlgValuesSupported()
      A list of signing algorithms that this authorization server supports for signed requests.
      Returns:
      requestObjectSigningAlgValuesSupported
    • setRequestObjectSigningAlgValuesSupported

      public void setRequestObjectSigningAlgValuesSupported(List<SigningAlgorithm> requestObjectSigningAlgValuesSupported)
    • requestParameterSupported

      public OAuthMetadata requestParameterSupported(Boolean requestParameterSupported)
    • getRequestParameterSupported

      @Nullable public Boolean getRequestParameterSupported()
      Indicates if Request Parameters are supported by this authorization server.
      Returns:
      requestParameterSupported
    • setRequestParameterSupported

      public void setRequestParameterSupported(Boolean requestParameterSupported)
    • responseModesSupported

      public OAuthMetadata responseModesSupported(List<ResponseMode> responseModesSupported)
    • addresponseModesSupportedItem

      public OAuthMetadata addresponseModesSupportedItem(ResponseMode responseModesSupportedItem)
    • getResponseModesSupported

      @Nullable public List<ResponseMode> getResponseModesSupported()
      A list of the `response_mode` values that this authorization server supports. More information here.
      Returns:
      responseModesSupported
    • setResponseModesSupported

      public void setResponseModesSupported(List<ResponseMode> responseModesSupported)
    • responseTypesSupported

      public OAuthMetadata responseTypesSupported(List<ResponseTypesSupported> responseTypesSupported)
    • addresponseTypesSupportedItem

      public OAuthMetadata addresponseTypesSupportedItem(ResponseTypesSupported responseTypesSupportedItem)
    • getResponseTypesSupported

      @Nullable public List<ResponseTypesSupported> getResponseTypesSupported()
      A list of the `response_type` values that this authorization server supports. Can be a combination of `code`, `token`, and `id_token`.
      Returns:
      responseTypesSupported
    • setResponseTypesSupported

      public void setResponseTypesSupported(List<ResponseTypesSupported> responseTypesSupported)
    • revocationEndpoint

      public OAuthMetadata revocationEndpoint(String revocationEndpoint)
    • getRevocationEndpoint

      @Nullable public String getRevocationEndpoint()
      URL of the authorization server's revocation endpoint.
      Returns:
      revocationEndpoint
    • setRevocationEndpoint

      public void setRevocationEndpoint(String revocationEndpoint)
    • revocationEndpointAuthMethodsSupported

      public OAuthMetadata revocationEndpointAuthMethodsSupported(List<EndpointAuthMethod> revocationEndpointAuthMethodsSupported)
    • addrevocationEndpointAuthMethodsSupportedItem

      public OAuthMetadata addrevocationEndpointAuthMethodsSupportedItem(EndpointAuthMethod revocationEndpointAuthMethodsSupportedItem)
    • getRevocationEndpointAuthMethodsSupported

      @Nullable public List<EndpointAuthMethod> getRevocationEndpointAuthMethodsSupported()
      A list of client authentication methods supported by this revocation endpoint.
      Returns:
      revocationEndpointAuthMethodsSupported
    • setRevocationEndpointAuthMethodsSupported

      public void setRevocationEndpointAuthMethodsSupported(List<EndpointAuthMethod> revocationEndpointAuthMethodsSupported)
    • scopesSupported

      public OAuthMetadata scopesSupported(List<String> scopesSupported)
    • addscopesSupportedItem

      public OAuthMetadata addscopesSupportedItem(String scopesSupportedItem)
    • getScopesSupported

      @Nullable public List<String> getScopesSupported()
      A list of the scope values that this authorization server supports.
      Returns:
      scopesSupported
    • setScopesSupported

      public void setScopesSupported(List<String> scopesSupported)
    • subjectTypesSupported

      public OAuthMetadata subjectTypesSupported(List<SubjectType> subjectTypesSupported)
    • addsubjectTypesSupportedItem

      public OAuthMetadata addsubjectTypesSupportedItem(SubjectType subjectTypesSupportedItem)
    • getSubjectTypesSupported

      @Nullable public List<SubjectType> getSubjectTypesSupported()
      A list of the Subject Identifier types that this authorization server supports. Valid types include `pairwise` and `public`, but only `public` is currently supported. See the [Subject Identifier Types](https://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes) section in the OpenID Connect specification.
      Returns:
      subjectTypesSupported
    • setSubjectTypesSupported

      public void setSubjectTypesSupported(List<SubjectType> subjectTypesSupported)
    • tokenEndpoint

      public OAuthMetadata tokenEndpoint(String tokenEndpoint)
    • getTokenEndpoint

      @Nullable public String getTokenEndpoint()
      URL of the authorization server's token endpoint.
      Returns:
      tokenEndpoint
    • setTokenEndpoint

      public void setTokenEndpoint(String tokenEndpoint)
    • tokenEndpointAuthMethodsSupported

      public OAuthMetadata tokenEndpointAuthMethodsSupported(List<EndpointAuthMethod> tokenEndpointAuthMethodsSupported)
    • addtokenEndpointAuthMethodsSupportedItem

      public OAuthMetadata addtokenEndpointAuthMethodsSupportedItem(EndpointAuthMethod tokenEndpointAuthMethodsSupportedItem)
    • getTokenEndpointAuthMethodsSupported

      @Nullable public List<EndpointAuthMethod> getTokenEndpointAuthMethodsSupported()
      A list of client authentication methods supported by this token endpoint.
      Returns:
      tokenEndpointAuthMethodsSupported
    • setTokenEndpointAuthMethodsSupported

      public void setTokenEndpointAuthMethodsSupported(List<EndpointAuthMethod> tokenEndpointAuthMethodsSupported)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object