Class AuthorizationServerClaimsApi

java.lang.Object
com.okta.sdk.resource.api.AuthorizationServerClaimsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class AuthorizationServerClaimsApi extends Object
  • Constructor Details

    • AuthorizationServerClaimsApi

      public AuthorizationServerClaimsApi()
    • AuthorizationServerClaimsApi

      public AuthorizationServerClaimsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createOAuth2Claim

      public OAuth2Claim createOAuth2Claim(String authServerId, OAuth2Claim oAuth2Claim) throws ApiException
      Create a custom token Claim Creates a custom token Claim for a custom authorization server
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      oAuth2Claim - (required)
      Returns:
      OAuth2Claim
      Throws:
      ApiException - if fails to make API call
    • createOAuth2Claim

      public OAuth2Claim createOAuth2Claim(String authServerId, OAuth2Claim oAuth2Claim, Map<String,String> additionalHeaders) throws ApiException
      Create a custom token Claim Creates a custom token Claim for a custom authorization server
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      oAuth2Claim - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      OAuth2Claim
      Throws:
      ApiException - if fails to make API call
    • deleteOAuth2Claim

      public void deleteOAuth2Claim(String authServerId, String claimId) throws ApiException
      Delete a custom token Claim Deletes a custom token Claim specified by the `claimId`
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      claimId - `id` of Claim (required)
      Throws:
      ApiException - if fails to make API call
    • deleteOAuth2Claim

      public void deleteOAuth2Claim(String authServerId, String claimId, Map<String,String> additionalHeaders) throws ApiException
      Delete a custom token Claim Deletes a custom token Claim specified by the `claimId`
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      claimId - `id` of Claim (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getOAuth2Claim

      public OAuth2Claim getOAuth2Claim(String authServerId, String claimId) throws ApiException
      Retrieve a custom token Claim Retrieves a custom token Claim by the specified `claimId`
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      claimId - `id` of Claim (required)
      Returns:
      OAuth2Claim
      Throws:
      ApiException - if fails to make API call
    • getOAuth2Claim

      public OAuth2Claim getOAuth2Claim(String authServerId, String claimId, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a custom token Claim Retrieves a custom token Claim by the specified `claimId`
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      claimId - `id` of Claim (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      OAuth2Claim
      Throws:
      ApiException - if fails to make API call
    • listOAuth2Claims

      public List<OAuth2Claim> listOAuth2Claims(String authServerId) throws ApiException
      List all custom token Claims Lists all custom token Claims defined for a specified custom authorization server
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      Returns:
      List<OAuth2Claim>
      Throws:
      ApiException - if fails to make API call
    • listOAuth2Claims

      public List<OAuth2Claim> listOAuth2Claims(String authServerId, Map<String,String> additionalHeaders) throws ApiException
      List all custom token Claims Lists all custom token Claims defined for a specified custom authorization server
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<OAuth2Claim>
      Throws:
      ApiException - if fails to make API call
    • replaceOAuth2Claim

      public OAuth2Claim replaceOAuth2Claim(String authServerId, String claimId, OAuth2Claim oAuth2Claim) throws ApiException
      Replace a custom token Claim Replaces a custom token Claim specified by the `claimId`
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      claimId - `id` of Claim (required)
      oAuth2Claim - (required)
      Returns:
      OAuth2Claim
      Throws:
      ApiException - if fails to make API call
    • replaceOAuth2Claim

      public OAuth2Claim replaceOAuth2Claim(String authServerId, String claimId, OAuth2Claim oAuth2Claim, Map<String,String> additionalHeaders) throws ApiException
      Replace a custom token Claim Replaces a custom token Claim specified by the `claimId`
      Parameters:
      authServerId - `id` of the Authorization Server (required)
      claimId - `id` of Claim (required)
      oAuth2Claim - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      OAuth2Claim
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()