@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class AuthorizationServerApi extends Object
Constructor and Description |
---|
AuthorizationServerApi() |
AuthorizationServerApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
activateAuthorizationServer(String authServerId)
Activate an Authorization Server
Activates an authorization server
|
void |
activateAuthorizationServer(String authServerId,
Map<String,String> additionalHeaders)
Activate an Authorization Server
Activates an authorization server
|
void |
activateAuthorizationServerPolicy(String authServerId,
String policyId)
Activate a Policy
Activates an authorization server policy
|
void |
activateAuthorizationServerPolicy(String authServerId,
String policyId,
Map<String,String> additionalHeaders)
Activate a Policy
Activates an authorization server policy
|
void |
activateAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId)
Activate a Policy Rule
Activates an authorization server policy rule
|
void |
activateAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId,
Map<String,String> additionalHeaders)
Activate a Policy Rule
Activates an authorization server policy rule
|
List<AuthorizationServer> |
createAssociatedServers(String authServerId,
AssociatedServerMediated associatedServerMediated)
Create the Associated Authorization Servers
Creates the trusted relationships between the given authorization server and other authorization servers
|
List<AuthorizationServer> |
createAssociatedServers(String authServerId,
AssociatedServerMediated associatedServerMediated,
Map<String,String> additionalHeaders)
Create the Associated Authorization Servers
Creates the trusted relationships between the given authorization server and other authorization servers
|
AuthorizationServer |
createAuthorizationServer(AuthorizationServer authorizationServer)
Create an Authorization Server
Creates an authorization server
|
AuthorizationServer |
createAuthorizationServer(AuthorizationServer authorizationServer,
Map<String,String> additionalHeaders)
Create an Authorization Server
Creates an authorization server
|
AuthorizationServerPolicy |
createAuthorizationServerPolicy(String authServerId,
AuthorizationServerPolicy policy)
Create a Policy
Creates a policy
|
AuthorizationServerPolicy |
createAuthorizationServerPolicy(String authServerId,
AuthorizationServerPolicy policy,
Map<String,String> additionalHeaders)
Create a Policy
Creates a policy
|
AuthorizationServerPolicyRule |
createAuthorizationServerPolicyRule(String authServerId,
String policyId,
AuthorizationServerPolicyRule policyRule)
Create a Policy Rule
Creates a policy rule for the specified Custom Authorization Server and Policy
|
AuthorizationServerPolicyRule |
createAuthorizationServerPolicyRule(String authServerId,
String policyId,
AuthorizationServerPolicyRule policyRule,
Map<String,String> additionalHeaders)
Create a Policy Rule
Creates a policy rule for the specified Custom Authorization Server and Policy
|
OAuth2Claim |
createOAuth2Claim(String authServerId,
OAuth2Claim oAuth2Claim)
Create a Custom Token Claim
Creates a custom token claim
|
OAuth2Claim |
createOAuth2Claim(String authServerId,
OAuth2Claim oAuth2Claim,
Map<String,String> additionalHeaders)
Create a Custom Token Claim
Creates a custom token claim
|
OAuth2Scope |
createOAuth2Scope(String authServerId,
OAuth2Scope oAuth2Scope)
Create a Custom Token Scope
Creates a custom token scope
|
OAuth2Scope |
createOAuth2Scope(String authServerId,
OAuth2Scope oAuth2Scope,
Map<String,String> additionalHeaders)
Create a Custom Token Scope
Creates a custom token scope
|
void |
deactivateAuthorizationServer(String authServerId)
Deactivate an Authorization Server
Deactivates an authorization server
|
void |
deactivateAuthorizationServer(String authServerId,
Map<String,String> additionalHeaders)
Deactivate an Authorization Server
Deactivates an authorization server
|
void |
deactivateAuthorizationServerPolicy(String authServerId,
String policyId)
Deactivate a Policy
Deactivates an authorization server policy
|
void |
deactivateAuthorizationServerPolicy(String authServerId,
String policyId,
Map<String,String> additionalHeaders)
Deactivate a Policy
Deactivates an authorization server policy
|
void |
deactivateAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId)
Deactivate a Policy Rule
Deactivates an authorization server policy rule
|
void |
deactivateAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId,
Map<String,String> additionalHeaders)
Deactivate a Policy Rule
Deactivates an authorization server policy rule
|
void |
deleteAssociatedServer(String authServerId,
String associatedServerId)
Delete an Associated Authorization Server
Deletes an associated authorization server
|
void |
deleteAssociatedServer(String authServerId,
String associatedServerId,
Map<String,String> additionalHeaders)
Delete an Associated Authorization Server
Deletes an associated authorization server
|
void |
deleteAuthorizationServer(String authServerId)
Delete an Authorization Server
Deletes an authorization server
|
void |
deleteAuthorizationServer(String authServerId,
Map<String,String> additionalHeaders)
Delete an Authorization Server
Deletes an authorization server
|
void |
deleteAuthorizationServerPolicy(String authServerId,
String policyId)
Delete a Policy
Deletes a policy
|
void |
deleteAuthorizationServerPolicy(String authServerId,
String policyId,
Map<String,String> additionalHeaders)
Delete a Policy
Deletes a policy
|
void |
deleteAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId)
Delete a Policy Rule
Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy
|
void |
deleteAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId,
Map<String,String> additionalHeaders)
Delete a Policy Rule
Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy
|
void |
deleteOAuth2Claim(String authServerId,
String claimId)
Delete a Custom Token Claim
Deletes a custom token claim
|
void |
deleteOAuth2Claim(String authServerId,
String claimId,
Map<String,String> additionalHeaders)
Delete a Custom Token Claim
Deletes a custom token claim
|
void |
deleteOAuth2Scope(String authServerId,
String scopeId)
Delete a Custom Token Scope
Deletes a custom token scope
|
void |
deleteOAuth2Scope(String authServerId,
String scopeId,
Map<String,String> additionalHeaders)
Delete a Custom Token Scope
Deletes a custom token scope
|
ApiClient |
getApiClient() |
AuthorizationServer |
getAuthorizationServer(String authServerId)
Retrieve an Authorization Server
Retrieves an authorization server
|
AuthorizationServer |
getAuthorizationServer(String authServerId,
Map<String,String> additionalHeaders)
Retrieve an Authorization Server
Retrieves an authorization server
|
AuthorizationServerPolicy |
getAuthorizationServerPolicy(String authServerId,
String policyId)
Retrieve a Policy
Retrieves a policy
|
AuthorizationServerPolicy |
getAuthorizationServerPolicy(String authServerId,
String policyId,
Map<String,String> additionalHeaders)
Retrieve a Policy
Retrieves a policy
|
AuthorizationServerPolicyRule |
getAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId)
Retrieve a Policy Rule
Retrieves a policy rule by `ruleId`
|
AuthorizationServerPolicyRule |
getAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId,
Map<String,String> additionalHeaders)
Retrieve a Policy Rule
Retrieves a policy rule by `ruleId`
|
OAuth2Claim |
getOAuth2Claim(String authServerId,
String claimId)
Retrieve a Custom Token Claim
Retrieves a custom token claim
|
OAuth2Claim |
getOAuth2Claim(String authServerId,
String claimId,
Map<String,String> additionalHeaders)
Retrieve a Custom Token Claim
Retrieves a custom token claim
|
OAuth2Scope |
getOAuth2Scope(String authServerId,
String scopeId)
Retrieve a Custom Token Scope
Retrieves a custom token scope
|
OAuth2Scope |
getOAuth2Scope(String authServerId,
String scopeId,
Map<String,String> additionalHeaders)
Retrieve a Custom Token Scope
Retrieves a custom token scope
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
OAuth2RefreshToken |
getRefreshTokenForAuthorizationServerAndClient(String authServerId,
String clientId,
String tokenId,
String expand)
Retrieve a Refresh Token for a Client
Retrieves a refresh token for a client
|
OAuth2RefreshToken |
getRefreshTokenForAuthorizationServerAndClient(String authServerId,
String clientId,
String tokenId,
String expand,
Map<String,String> additionalHeaders)
Retrieve a Refresh Token for a Client
Retrieves a refresh token for a client
|
List<AuthorizationServer> |
listAssociatedServersByTrustedType(String authServerId,
Boolean trusted,
String q,
Integer limit,
String after)
List all Associated Authorization Servers
Lists all associated authorization servers by trusted type for the given `authServerId`
|
List<AuthorizationServer> |
listAssociatedServersByTrustedType(String authServerId,
Boolean trusted,
String q,
Integer limit,
String after,
Map<String,String> additionalHeaders)
List all Associated Authorization Servers
Lists all associated authorization servers by trusted type for the given `authServerId`
|
List<JsonWebKey> |
listAuthorizationServerKeys(String authServerId)
List all Credential Keys
Lists all credential keys
|
List<JsonWebKey> |
listAuthorizationServerKeys(String authServerId,
Map<String,String> additionalHeaders)
List all Credential Keys
Lists all credential keys
|
List<AuthorizationServerPolicy> |
listAuthorizationServerPolicies(String authServerId)
List all Policies
Lists all policies
|
List<AuthorizationServerPolicy> |
listAuthorizationServerPolicies(String authServerId,
Map<String,String> additionalHeaders)
List all Policies
Lists all policies
|
List<AuthorizationServerPolicyRule> |
listAuthorizationServerPolicyRules(String authServerId,
String policyId)
List all Policy Rules
Lists all policy rules for the specified Custom Authorization Server and Policy
|
List<AuthorizationServerPolicyRule> |
listAuthorizationServerPolicyRules(String authServerId,
String policyId,
Map<String,String> additionalHeaders)
List all Policy Rules
Lists all policy rules for the specified Custom Authorization Server and Policy
|
List<AuthorizationServer> |
listAuthorizationServers(String q,
Integer limit,
String after)
List all Authorization Servers
Lists all authorization servers
|
List<AuthorizationServer> |
listAuthorizationServers(String q,
Integer limit,
String after,
Map<String,String> additionalHeaders)
List all Authorization Servers
Lists all authorization servers
|
List<OAuth2Claim> |
listOAuth2Claims(String authServerId)
List all Custom Token Claims
Lists all custom token claims
|
List<OAuth2Claim> |
listOAuth2Claims(String authServerId,
Map<String,String> additionalHeaders)
List all Custom Token Claims
Lists all custom token claims
|
List<OAuth2Client> |
listOAuth2ClientsForAuthorizationServer(String authServerId)
List all Clients
Lists all clients
|
List<OAuth2Client> |
listOAuth2ClientsForAuthorizationServer(String authServerId,
Map<String,String> additionalHeaders)
List all Clients
Lists all clients
|
List<OAuth2Scope> |
listOAuth2Scopes(String authServerId,
String q,
String filter,
String cursor,
Integer limit)
List all Custom Token Scopes
Lists all custom token scopes
|
List<OAuth2Scope> |
listOAuth2Scopes(String authServerId,
String q,
String filter,
String cursor,
Integer limit,
Map<String,String> additionalHeaders)
List all Custom Token Scopes
Lists all custom token scopes
|
List<OAuth2RefreshToken> |
listRefreshTokensForAuthorizationServerAndClient(String authServerId,
String clientId,
String expand,
String after,
Integer limit)
List all Refresh Tokens for a Client
Lists all refresh tokens for a client
|
List<OAuth2RefreshToken> |
listRefreshTokensForAuthorizationServerAndClient(String authServerId,
String clientId,
String expand,
String after,
Integer limit,
Map<String,String> additionalHeaders)
List all Refresh Tokens for a Client
Lists all refresh tokens for a client
|
AuthorizationServer |
replaceAuthorizationServer(String authServerId,
AuthorizationServer authorizationServer)
Replace an Authorization Server
Replaces an authorization server
|
AuthorizationServer |
replaceAuthorizationServer(String authServerId,
AuthorizationServer authorizationServer,
Map<String,String> additionalHeaders)
Replace an Authorization Server
Replaces an authorization server
|
AuthorizationServerPolicy |
replaceAuthorizationServerPolicy(String authServerId,
String policyId,
AuthorizationServerPolicy policy)
Replace a Policy
Replaces a policy
|
AuthorizationServerPolicy |
replaceAuthorizationServerPolicy(String authServerId,
String policyId,
AuthorizationServerPolicy policy,
Map<String,String> additionalHeaders)
Replace a Policy
Replaces a policy
|
AuthorizationServerPolicyRule |
replaceAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId,
AuthorizationServerPolicyRule policyRule)
Replace a Policy Rule
Replaces the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy
|
AuthorizationServerPolicyRule |
replaceAuthorizationServerPolicyRule(String authServerId,
String policyId,
String ruleId,
AuthorizationServerPolicyRule policyRule,
Map<String,String> additionalHeaders)
Replace a Policy Rule
Replaces the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy
|
OAuth2Claim |
replaceOAuth2Claim(String authServerId,
String claimId,
OAuth2Claim oAuth2Claim)
Replace a Custom Token Claim
Replaces a custom token claim
|
OAuth2Claim |
replaceOAuth2Claim(String authServerId,
String claimId,
OAuth2Claim oAuth2Claim,
Map<String,String> additionalHeaders)
Replace a Custom Token Claim
Replaces a custom token claim
|
OAuth2Scope |
replaceOAuth2Scope(String authServerId,
String scopeId,
OAuth2Scope oAuth2Scope)
Replace a Custom Token Scope
Replaces a custom token scope
|
OAuth2Scope |
replaceOAuth2Scope(String authServerId,
String scopeId,
OAuth2Scope oAuth2Scope,
Map<String,String> additionalHeaders)
Replace a Custom Token Scope
Replaces a custom token scope
|
void |
revokeRefreshTokenForAuthorizationServerAndClient(String authServerId,
String clientId,
String tokenId)
Revoke a Refresh Token for a Client
Revokes a refresh token for a client
|
void |
revokeRefreshTokenForAuthorizationServerAndClient(String authServerId,
String clientId,
String tokenId,
Map<String,String> additionalHeaders)
Revoke a Refresh Token for a Client
Revokes a refresh token for a client
|
void |
revokeRefreshTokensForAuthorizationServerAndClient(String authServerId,
String clientId)
Revoke all Refresh Tokens for a Client
Revokes all refresh tokens for a client
|
void |
revokeRefreshTokensForAuthorizationServerAndClient(String authServerId,
String clientId,
Map<String,String> additionalHeaders)
Revoke all Refresh Tokens for a Client
Revokes all refresh tokens for a client
|
List<JsonWebKey> |
rotateAuthorizationServerKeys(String authServerId,
JwkUse use)
Rotate all Credential Keys
Rotates all credential keys
|
List<JsonWebKey> |
rotateAuthorizationServerKeys(String authServerId,
JwkUse use,
Map<String,String> additionalHeaders)
Rotate all Credential Keys
Rotates all credential keys
|
void |
setApiClient(ApiClient apiClient) |
public AuthorizationServerApi()
public AuthorizationServerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void activateAuthorizationServer(String authServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)ApiException
- if fails to make API callpublic void activateAuthorizationServer(String authServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void activateAuthorizationServerPolicy(String authServerId, String policyId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ApiException
- if fails to make API callpublic void activateAuthorizationServerPolicy(String authServerId, String policyId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void activateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)ApiException
- if fails to make API callpublic void activateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<AuthorizationServer> createAssociatedServers(String authServerId, AssociatedServerMediated associatedServerMediated) throws ApiException
authServerId
- `id` of the Authorization Server (required)associatedServerMediated
- (required)ApiException
- if fails to make API callpublic List<AuthorizationServer> createAssociatedServers(String authServerId, AssociatedServerMediated associatedServerMediated, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)associatedServerMediated
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServer createAuthorizationServer(AuthorizationServer authorizationServer) throws ApiException
authorizationServer
- (required)ApiException
- if fails to make API callpublic AuthorizationServer createAuthorizationServer(AuthorizationServer authorizationServer, Map<String,String> additionalHeaders) throws ApiException
authorizationServer
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServerPolicy createAuthorizationServerPolicy(String authServerId, AuthorizationServerPolicy policy) throws ApiException
authServerId
- `id` of the Authorization Server (required)policy
- (required)ApiException
- if fails to make API callpublic AuthorizationServerPolicy createAuthorizationServerPolicy(String authServerId, AuthorizationServerPolicy policy, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policy
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServerPolicyRule createAuthorizationServerPolicyRule(String authServerId, String policyId, AuthorizationServerPolicyRule policyRule) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)policyRule
- (required)ApiException
- if fails to make API callpublic AuthorizationServerPolicyRule createAuthorizationServerPolicyRule(String authServerId, String policyId, AuthorizationServerPolicyRule policyRule, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)policyRule
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic OAuth2Claim createOAuth2Claim(String authServerId, OAuth2Claim oAuth2Claim) throws ApiException
authServerId
- `id` of the Authorization Server (required)oAuth2Claim
- (required)ApiException
- if fails to make API callpublic OAuth2Claim createOAuth2Claim(String authServerId, OAuth2Claim oAuth2Claim, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)oAuth2Claim
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic OAuth2Scope createOAuth2Scope(String authServerId, OAuth2Scope oAuth2Scope) throws ApiException
authServerId
- `id` of the Authorization Server (required)oAuth2Scope
- (required)ApiException
- if fails to make API callpublic OAuth2Scope createOAuth2Scope(String authServerId, OAuth2Scope oAuth2Scope, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)oAuth2Scope
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deactivateAuthorizationServer(String authServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)ApiException
- if fails to make API callpublic void deactivateAuthorizationServer(String authServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deactivateAuthorizationServerPolicy(String authServerId, String policyId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ApiException
- if fails to make API callpublic void deactivateAuthorizationServerPolicy(String authServerId, String policyId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deactivateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)ApiException
- if fails to make API callpublic void deactivateAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteAssociatedServer(String authServerId, String associatedServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)associatedServerId
- `id` of the associated Authorization Server (required)ApiException
- if fails to make API callpublic void deleteAssociatedServer(String authServerId, String associatedServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)associatedServerId
- `id` of the associated Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteAuthorizationServer(String authServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)ApiException
- if fails to make API callpublic void deleteAuthorizationServer(String authServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteAuthorizationServerPolicy(String authServerId, String policyId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ApiException
- if fails to make API callpublic void deleteAuthorizationServerPolicy(String authServerId, String policyId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)ApiException
- if fails to make API callpublic void deleteAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteOAuth2Claim(String authServerId, String claimId) throws ApiException
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)ApiException
- if fails to make API callpublic void deleteOAuth2Claim(String authServerId, String claimId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteOAuth2Scope(String authServerId, String scopeId) throws ApiException
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)ApiException
- if fails to make API callpublic void deleteOAuth2Scope(String authServerId, String scopeId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServer getAuthorizationServer(String authServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)ApiException
- if fails to make API callpublic AuthorizationServer getAuthorizationServer(String authServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServerPolicy getAuthorizationServerPolicy(String authServerId, String policyId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ApiException
- if fails to make API callpublic AuthorizationServerPolicy getAuthorizationServerPolicy(String authServerId, String policyId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServerPolicyRule getAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)ApiException
- if fails to make API callpublic AuthorizationServerPolicyRule getAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic OAuth2Claim getOAuth2Claim(String authServerId, String claimId) throws ApiException
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)ApiException
- if fails to make API callpublic OAuth2Claim getOAuth2Claim(String authServerId, String claimId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic OAuth2Scope getOAuth2Scope(String authServerId, String scopeId) throws ApiException
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)ApiException
- if fails to make API callpublic OAuth2Scope getOAuth2Scope(String authServerId, String scopeId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic OAuth2RefreshToken getRefreshTokenForAuthorizationServerAndClient(String authServerId, String clientId, String tokenId, String expand) throws ApiException
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)tokenId
- `id` of Token (required)expand
- (optional)ApiException
- if fails to make API callpublic OAuth2RefreshToken getRefreshTokenForAuthorizationServerAndClient(String authServerId, String clientId, String tokenId, String expand, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)tokenId
- `id` of Token (required)expand
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<AuthorizationServer> listAssociatedServersByTrustedType(String authServerId, Boolean trusted, String q, Integer limit, String after) throws ApiException
authServerId
- `id` of the Authorization Server (required)trusted
- Searches trusted authorization servers when true, or searches untrusted authorization servers when false (optional)q
- Searches the name or audience of the associated authorization servers (optional)limit
- Specifies the number of results for a page (optional, default to 200)after
- Specifies the pagination cursor for the next page of the associated authorization servers (optional)ApiException
- if fails to make API callpublic List<AuthorizationServer> listAssociatedServersByTrustedType(String authServerId, Boolean trusted, String q, Integer limit, String after, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)trusted
- Searches trusted authorization servers when true, or searches untrusted authorization servers when false (optional)q
- Searches the name or audience of the associated authorization servers (optional)limit
- Specifies the number of results for a page (optional, default to 200)after
- Specifies the pagination cursor for the next page of the associated authorization servers (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<JsonWebKey> listAuthorizationServerKeys(String authServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)ApiException
- if fails to make API callpublic List<JsonWebKey> listAuthorizationServerKeys(String authServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<AuthorizationServerPolicy> listAuthorizationServerPolicies(String authServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)ApiException
- if fails to make API callpublic List<AuthorizationServerPolicy> listAuthorizationServerPolicies(String authServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<AuthorizationServerPolicyRule> listAuthorizationServerPolicyRules(String authServerId, String policyId) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ApiException
- if fails to make API callpublic List<AuthorizationServerPolicyRule> listAuthorizationServerPolicyRules(String authServerId, String policyId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<AuthorizationServer> listAuthorizationServers(String q, Integer limit, String after) throws ApiException
q
- (optional)limit
- (optional, default to 200)after
- (optional)ApiException
- if fails to make API callpublic List<AuthorizationServer> listAuthorizationServers(String q, Integer limit, String after, Map<String,String> additionalHeaders) throws ApiException
q
- (optional)limit
- (optional, default to 200)after
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<OAuth2Claim> listOAuth2Claims(String authServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)ApiException
- if fails to make API callpublic List<OAuth2Claim> listOAuth2Claims(String authServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<OAuth2Client> listOAuth2ClientsForAuthorizationServer(String authServerId) throws ApiException
authServerId
- `id` of the Authorization Server (required)ApiException
- if fails to make API callpublic List<OAuth2Client> listOAuth2ClientsForAuthorizationServer(String authServerId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<OAuth2Scope> listOAuth2Scopes(String authServerId, String q, String filter, String cursor, Integer limit) throws ApiException
authServerId
- `id` of the Authorization Server (required)q
- (optional)filter
- (optional)cursor
- (optional)limit
- (optional, default to -1)ApiException
- if fails to make API callpublic List<OAuth2Scope> listOAuth2Scopes(String authServerId, String q, String filter, String cursor, Integer limit, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)q
- (optional)filter
- (optional)cursor
- (optional)limit
- (optional, default to -1)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<OAuth2RefreshToken> listRefreshTokensForAuthorizationServerAndClient(String authServerId, String clientId, String expand, String after, Integer limit) throws ApiException
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)expand
- (optional)after
- (optional)limit
- (optional, default to -1)ApiException
- if fails to make API callpublic List<OAuth2RefreshToken> listRefreshTokensForAuthorizationServerAndClient(String authServerId, String clientId, String expand, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)expand
- (optional)after
- (optional)limit
- (optional, default to -1)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServer replaceAuthorizationServer(String authServerId, AuthorizationServer authorizationServer) throws ApiException
authServerId
- `id` of the Authorization Server (required)authorizationServer
- (required)ApiException
- if fails to make API callpublic AuthorizationServer replaceAuthorizationServer(String authServerId, AuthorizationServer authorizationServer, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)authorizationServer
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServerPolicy replaceAuthorizationServerPolicy(String authServerId, String policyId, AuthorizationServerPolicy policy) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)policy
- (required)ApiException
- if fails to make API callpublic AuthorizationServerPolicy replaceAuthorizationServerPolicy(String authServerId, String policyId, AuthorizationServerPolicy policy, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)policy
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AuthorizationServerPolicyRule replaceAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, AuthorizationServerPolicyRule policyRule) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)policyRule
- (required)ApiException
- if fails to make API callpublic AuthorizationServerPolicyRule replaceAuthorizationServerPolicyRule(String authServerId, String policyId, String ruleId, AuthorizationServerPolicyRule policyRule, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)policyId
- `id` of the Policy (required)ruleId
- `id` of the Policy Rule (required)policyRule
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic OAuth2Claim replaceOAuth2Claim(String authServerId, String claimId, OAuth2Claim oAuth2Claim) throws ApiException
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)oAuth2Claim
- (required)ApiException
- if fails to make API callpublic OAuth2Claim replaceOAuth2Claim(String authServerId, String claimId, OAuth2Claim oAuth2Claim, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)claimId
- `id` of Claim (required)oAuth2Claim
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic OAuth2Scope replaceOAuth2Scope(String authServerId, String scopeId, OAuth2Scope oAuth2Scope) throws ApiException
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)oAuth2Scope
- (required)ApiException
- if fails to make API callpublic OAuth2Scope replaceOAuth2Scope(String authServerId, String scopeId, OAuth2Scope oAuth2Scope, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)scopeId
- `id` of Scope (required)oAuth2Scope
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void revokeRefreshTokenForAuthorizationServerAndClient(String authServerId, String clientId, String tokenId) throws ApiException
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)tokenId
- `id` of Token (required)ApiException
- if fails to make API callpublic void revokeRefreshTokenForAuthorizationServerAndClient(String authServerId, String clientId, String tokenId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)tokenId
- `id` of Token (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void revokeRefreshTokensForAuthorizationServerAndClient(String authServerId, String clientId) throws ApiException
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)ApiException
- if fails to make API callpublic void revokeRefreshTokensForAuthorizationServerAndClient(String authServerId, String clientId, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)clientId
- `client_id` of the app (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<JsonWebKey> rotateAuthorizationServerKeys(String authServerId, JwkUse use) throws ApiException
authServerId
- `id` of the Authorization Server (required)use
- (required)ApiException
- if fails to make API callpublic List<JsonWebKey> rotateAuthorizationServerKeys(String authServerId, JwkUse use, Map<String,String> additionalHeaders) throws ApiException
authServerId
- `id` of the Authorization Server (required)use
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.