@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00") public class DefaultAuthorizationServer extends AbstractInstanceResource<AuthorizationServer> implements AuthorizationServer
AuthorizationServer.IssuerModeEnum, AuthorizationServer.StatusEnumpropertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultAuthorizationServer(InternalDataStore dataStore) |
DefaultAuthorizationServer(InternalDataStore dataStore,
Map<String,Object> properties) |
saveclear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, valuesgetBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setPropertyclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceHref, setResourceHrefgetBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic DefaultAuthorizationServer(InternalDataStore dataStore)
public DefaultAuthorizationServer(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<AuthorizationServer>public Map<String,Object> getLinks()
getLinks in interface AuthorizationServerpublic List<String> getAudiences()
getAudiences in interface AuthorizationServerpublic AuthorizationServer setAudiences(List<String> audiences)
setAudiences in interface AuthorizationServerpublic Date getCreated()
getCreated in interface AuthorizationServerpublic AuthorizationServerCredentials getCredentials()
getCredentials in interface AuthorizationServerpublic AuthorizationServer setCredentials(AuthorizationServerCredentials credentials)
setCredentials in interface AuthorizationServerpublic String getDescription()
getDescription in interface AuthorizationServerpublic AuthorizationServer setDescription(String description)
setDescription in interface AuthorizationServerpublic String getId()
getId in interface AuthorizationServerpublic String getIssuer()
getIssuer in interface AuthorizationServerpublic AuthorizationServer setIssuer(String issuer)
setIssuer in interface AuthorizationServerpublic AuthorizationServer.IssuerModeEnum getIssuerMode()
getIssuerMode in interface AuthorizationServerpublic AuthorizationServer setIssuerMode(AuthorizationServer.IssuerModeEnum issuerMode)
setIssuerMode in interface AuthorizationServerpublic Date getLastUpdated()
getLastUpdated in interface AuthorizationServerpublic String getName()
getName in interface AuthorizationServerpublic AuthorizationServer setName(String name)
setName in interface AuthorizationServerpublic AuthorizationServer.StatusEnum getStatus()
getStatus in interface AuthorizationServerpublic AuthorizationServer setStatus(AuthorizationServer.StatusEnum status)
setStatus in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/authorizationServers/{authServerId}/lifecycle/activate") public void activate()
activate in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") public void deleteOAuth2Claim(String claimId)
deleteOAuth2Claim in interface AuthorizationServerclaimId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/authorizationServers/{authServerId}/scopes") public OAuth2Scope createOAuth2Scope(OAuth2Scope oAuth2Scope)
createOAuth2Scope in interface AuthorizationServeroAuth2Scope - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") public OAuth2Scope getOAuth2Scope(String scopeId)
getOAuth2Scope in interface AuthorizationServerscopeId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/authorizationServers/{authServerId}/policies") public AuthorizationServerPolicy createPolicy(AuthorizationServerPolicy policy)
createPolicy in interface AuthorizationServerpolicy - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/policies") public AuthorizationServerPolicyList listPolicies()
listPolicies in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/claims") public OAuth2ClaimList listOAuth2Claims()
listOAuth2Claims in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") public OAuth2Claim getOAuth2Claim(String claimId)
getOAuth2Claim in interface AuthorizationServerclaimId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients") public OAuth2ClientList listOAuth2Clients()
listOAuth2Clients in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/authorizationServers/{authServerId}/lifecycle/deactivate") public void deactivate()
deactivate in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") public void deleteOAuth2Scope(String scopeId)
deleteOAuth2Scope in interface AuthorizationServerscopeId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/credentials/keys") public JsonWebKeyList listKeys()
listKeys in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes") public OAuth2ScopeList listOAuth2Scopes(String q, String filter, String cursor)
listOAuth2Scopes in interface AuthorizationServerq - (optional)filter - (optional)cursor - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes") public OAuth2ScopeList listOAuth2Scopes()
listOAuth2Scopes in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") public void revokeRefreshTokensForClient(String clientId)
revokeRefreshTokensForClient in interface AuthorizationServerclientId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate") public JsonWebKeyList rotateKeys(JwkUse use)
rotateKeys in interface AuthorizationServeruse - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") public OAuth2RefreshTokenList listRefreshTokensForClient(String clientId, String expand)
listRefreshTokensForClient in interface AuthorizationServerclientId - (required)expand - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") public OAuth2RefreshTokenList listRefreshTokensForClient(String clientId)
listRefreshTokensForClient in interface AuthorizationServerclientId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}") public void delete()
delete in interface AuthorizationServerdelete in interface Deletabledelete in class AbstractInstanceResource<AuthorizationServer>@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") public OAuth2Claim updateOAuth2Claim(String claimId, OAuth2Claim oAuth2Claim)
updateOAuth2Claim in interface AuthorizationServerclaimId - (required)oAuth2Claim - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") public OAuth2RefreshToken getRefreshTokenForClient(String clientId, String tokenId, String expand)
getRefreshTokenForClient in interface AuthorizationServerclientId - (required)tokenId - (required)expand - (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") public OAuth2RefreshToken getRefreshTokenForClient(String clientId, String tokenId)
getRefreshTokenForClient in interface AuthorizationServerclientId - (required)tokenId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") public AuthorizationServerPolicy updatePolicy(String policyId, AuthorizationServerPolicy policy)
updatePolicy in interface AuthorizationServerpolicyId - (required)policy - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") public void revokeRefreshTokenForClient(String clientId, String tokenId)
revokeRefreshTokenForClient in interface AuthorizationServerclientId - (required)tokenId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") public void deletePolicy(String policyId)
deletePolicy in interface AuthorizationServerpolicyId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="GET - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") public AuthorizationServerPolicy getPolicy(String policyId)
getPolicy in interface AuthorizationServerpolicyId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/authorizationServers/{authServerId}") public AuthorizationServer update()
update in interface AuthorizationServer@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") public OAuth2Scope updateOAuth2Scope(String scopeId, OAuth2Scope oAuth2Scope)
updateOAuth2Scope in interface AuthorizationServerscopeId - (required)oAuth2Scope - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-02-02T10:57:07.429-06:00", comments="POST - /api/v1/authorizationServers/{authServerId}/claims") public OAuth2Claim createOAuth2Claim(OAuth2Claim oAuth2Claim)
createOAuth2Claim in interface AuthorizationServeroAuth2Claim - (required)Copyright © 2017–2023 Okta. All rights reserved.