Package com.okta.sdk.resource.api
Class AuthorizationServerClaimsApi
java.lang.Object
com.okta.sdk.resource.api.AuthorizationServerClaimsApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class AuthorizationServerClaimsApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateOAuth2Claim
(String authServerId, OAuth2Claim oAuth2Claim) Create a custom token Claim Creates a custom token Claim for a custom authorization servercreateOAuth2Claim
(String authServerId, OAuth2Claim oAuth2Claim, Map<String, String> additionalHeaders) Create a custom token Claim Creates a custom token Claim for a custom authorization servervoid
deleteOAuth2Claim
(String authServerId, String claimId) Delete a custom token Claim Deletes a custom token Claim specified by the `claimId`void
Delete a custom token Claim Deletes a custom token Claim specified by the `claimId`getOAuth2Claim
(String authServerId, String claimId) Retrieve a custom token Claim Retrieves a custom token Claim by the specified `claimId`Retrieve a custom token Claim Retrieves a custom token Claim by the specified `claimId`protected static com.fasterxml.jackson.databind.ObjectMapper
listOAuth2Claims
(String authServerId) List all custom token Claims Lists all custom token Claims defined for a specified custom authorization serverlistOAuth2Claims
(String authServerId, Map<String, String> additionalHeaders) List all custom token Claims Lists all custom token Claims defined for a specified custom authorization serverreplaceOAuth2Claim
(String authServerId, String claimId, OAuth2Claim oAuth2Claim) Replace a custom token Claim Replaces a custom token Claim specified by the `claimId`replaceOAuth2Claim
(String authServerId, String claimId, OAuth2Claim oAuth2Claim, Map<String, String> additionalHeaders) Replace a custom token Claim Replaces a custom token Claim specified by the `claimId`void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
AuthorizationServerClaimsApi
public AuthorizationServerClaimsApi() -
AuthorizationServerClaimsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 ApiExceptionCreate 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
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 ApiExceptionDelete 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
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 ApiExceptionRetrieve 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
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 ApiExceptionList 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 ApiExceptionReplace 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()
-