@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00") public interface AuthorizationServer extends ExtensibleResource, Deletable
Modifier and Type | Interface and Description |
---|---|
static class |
AuthorizationServer.IssuerModeEnum
Enum issuerMode
|
static class |
AuthorizationServer.StatusEnum
Enum status
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Success
|
OAuth2Claim |
createOAuth2Claim(OAuth2Claim oAuth2Claim)
Success
|
OAuth2Scope |
createOAuth2Scope(OAuth2Scope oAuth2Scope)
Success
|
AuthorizationServerPolicy |
createPolicy(AuthorizationServerPolicy policy)
Success
|
void |
deactivate()
Success
|
void |
delete()
Success
|
void |
deleteOAuth2Claim(java.lang.String claimId)
Success
|
void |
deleteOAuth2Scope(java.lang.String scopeId)
Success
|
void |
deletePolicy(java.lang.String policyId)
Success
|
java.util.List<java.lang.String> |
getAudiences() |
java.util.Date |
getCreated() |
AuthorizationServerCredentials |
getCredentials() |
java.lang.String |
getDescription() |
java.lang.String |
getId() |
java.lang.String |
getIssuer() |
AuthorizationServer.IssuerModeEnum |
getIssuerMode() |
java.util.Date |
getLastUpdated() |
java.util.Map<java.lang.String,java.lang.Object> |
getLinks() |
java.lang.String |
getName() |
OAuth2Claim |
getOAuth2Claim(java.lang.String claimId)
Success
|
OAuth2Scope |
getOAuth2Scope(java.lang.String scopeId)
Success
|
AuthorizationServerPolicy |
getPolicy(java.lang.String policyId)
Success
|
OAuth2RefreshToken |
getRefreshTokenForClient(java.lang.String clientId,
java.lang.String tokenId)
Success
|
OAuth2RefreshToken |
getRefreshTokenForClient(java.lang.String clientId,
java.lang.String tokenId,
java.lang.String expand)
Success
|
AuthorizationServer.StatusEnum |
getStatus() |
JsonWebKeyList |
listKeys()
Success
|
OAuth2ClaimList |
listOAuth2Claims()
Success
|
OAuth2ClientList |
listOAuth2Clients()
Success
|
OAuth2ScopeList |
listOAuth2Scopes()
Success
|
OAuth2ScopeList |
listOAuth2Scopes(java.lang.String q,
java.lang.String filter,
java.lang.String cursor)
Success
|
AuthorizationServerPolicyList |
listPolicies()
Success
|
OAuth2RefreshTokenList |
listRefreshTokensForClient(java.lang.String clientId)
Success
|
OAuth2RefreshTokenList |
listRefreshTokensForClient(java.lang.String clientId,
java.lang.String expand)
Success
|
void |
revokeRefreshTokenForClient(java.lang.String clientId,
java.lang.String tokenId)
Success
|
void |
revokeRefreshTokensForClient(java.lang.String clientId)
Success
|
JsonWebKeyList |
rotateKeys(JwkUse use)
Success
|
AuthorizationServer |
setAudiences(java.util.List<java.lang.String> audiences) |
AuthorizationServer |
setCredentials(AuthorizationServerCredentials credentials) |
AuthorizationServer |
setDescription(java.lang.String description) |
AuthorizationServer |
setIssuer(java.lang.String issuer) |
AuthorizationServer |
setIssuerMode(AuthorizationServer.IssuerModeEnum issuerMode) |
AuthorizationServer |
setName(java.lang.String name) |
AuthorizationServer |
setStatus(AuthorizationServer.StatusEnum status) |
AuthorizationServer |
update()
Success
|
OAuth2Claim |
updateOAuth2Claim(java.lang.String claimId,
OAuth2Claim oAuth2Claim)
Success
|
OAuth2Scope |
updateOAuth2Scope(java.lang.String scopeId,
OAuth2Scope oAuth2Scope)
Success
|
AuthorizationServerPolicy |
updatePolicy(java.lang.String policyId,
AuthorizationServerPolicy policy)
Success
|
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
java.util.Map<java.lang.String,java.lang.Object> getLinks()
java.util.List<java.lang.String> getAudiences()
AuthorizationServer setAudiences(java.util.List<java.lang.String> audiences)
java.util.Date getCreated()
AuthorizationServerCredentials getCredentials()
AuthorizationServer setCredentials(AuthorizationServerCredentials credentials)
java.lang.String getDescription()
AuthorizationServer setDescription(java.lang.String description)
java.lang.String getId()
java.lang.String getIssuer()
AuthorizationServer setIssuer(java.lang.String issuer)
AuthorizationServer.IssuerModeEnum getIssuerMode()
AuthorizationServer setIssuerMode(AuthorizationServer.IssuerModeEnum issuerMode)
java.util.Date getLastUpdated()
java.lang.String getName()
AuthorizationServer setName(java.lang.String name)
AuthorizationServer.StatusEnum getStatus()
AuthorizationServer setStatus(AuthorizationServer.StatusEnum status)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/lifecycle/activate") void activate()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") void deleteOAuth2Claim(java.lang.String claimId)
claimId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/scopes") OAuth2Scope createOAuth2Scope(OAuth2Scope oAuth2Scope)
oAuth2Scope
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") OAuth2Scope getOAuth2Scope(java.lang.String scopeId)
scopeId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/policies") AuthorizationServerPolicy createPolicy(AuthorizationServerPolicy policy)
policy
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/policies") AuthorizationServerPolicyList listPolicies()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/claims") OAuth2ClaimList listOAuth2Claims()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") OAuth2Claim getOAuth2Claim(java.lang.String claimId)
claimId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients") OAuth2ClientList listOAuth2Clients()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/lifecycle/deactivate") void deactivate()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") void deleteOAuth2Scope(java.lang.String scopeId)
scopeId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/credentials/keys") JsonWebKeyList listKeys()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes") OAuth2ScopeList listOAuth2Scopes(java.lang.String q, java.lang.String filter, java.lang.String cursor)
q
- (optional)filter
- (optional)cursor
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes") OAuth2ScopeList listOAuth2Scopes()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") void revokeRefreshTokensForClient(java.lang.String clientId)
clientId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate") JsonWebKeyList rotateKeys(JwkUse use)
use
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") OAuth2RefreshTokenList listRefreshTokensForClient(java.lang.String clientId, java.lang.String expand)
clientId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") OAuth2RefreshTokenList listRefreshTokensForClient(java.lang.String clientId)
clientId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}") void delete()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") OAuth2Claim updateOAuth2Claim(java.lang.String claimId, OAuth2Claim oAuth2Claim)
claimId
- (required)oAuth2Claim
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") OAuth2RefreshToken getRefreshTokenForClient(java.lang.String clientId, java.lang.String tokenId, java.lang.String expand)
clientId
- (required)tokenId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") OAuth2RefreshToken getRefreshTokenForClient(java.lang.String clientId, java.lang.String tokenId)
clientId
- (required)tokenId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") AuthorizationServerPolicy updatePolicy(java.lang.String policyId, AuthorizationServerPolicy policy)
policyId
- (required)policy
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") void revokeRefreshTokenForClient(java.lang.String clientId, java.lang.String tokenId)
clientId
- (required)tokenId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") void deletePolicy(java.lang.String policyId)
policyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") AuthorizationServerPolicy getPolicy(java.lang.String policyId)
policyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}") AuthorizationServer update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") OAuth2Scope updateOAuth2Scope(java.lang.String scopeId, OAuth2Scope oAuth2Scope)
scopeId
- (required)oAuth2Scope
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-04-29T13:24:36.001-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/claims") OAuth2Claim createOAuth2Claim(OAuth2Claim oAuth2Claim)
oAuth2Claim
- (required)Copyright © 2017-2022 Okta. All Rights Reserved.