@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultAuthorizationServer extends AbstractInstanceResource<AuthorizationServer> implements AuthorizationServer
AuthorizationServer.IssuerModeEnum, AuthorizationServer.StatusEnum
properties
readLock, writeLock
Constructor and Description |
---|
DefaultAuthorizationServer(InternalDataStore dataStore) |
DefaultAuthorizationServer(InternalDataStore dataStore,
Map<String,Object> properties) |
save
clear, 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, values
getBoolean, 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, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public DefaultAuthorizationServer(InternalDataStore dataStore)
public DefaultAuthorizationServer(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors
in class AbstractResource
public Class<? extends Resource> getResourceClass()
AbstractInstanceResource
Foo
, 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 AuthorizationServer
public List<String> getAudiences()
getAudiences
in interface AuthorizationServer
public AuthorizationServer setAudiences(List<String> audiences)
setAudiences
in interface AuthorizationServer
public Date getCreated()
getCreated
in interface AuthorizationServer
public AuthorizationServerCredentials getCredentials()
getCredentials
in interface AuthorizationServer
public AuthorizationServer setCredentials(AuthorizationServerCredentials credentials)
setCredentials
in interface AuthorizationServer
public String getDescription()
getDescription
in interface AuthorizationServer
public AuthorizationServer setDescription(String description)
setDescription
in interface AuthorizationServer
public String getId()
getId
in interface AuthorizationServer
public String getIssuer()
getIssuer
in interface AuthorizationServer
public AuthorizationServer setIssuer(String issuer)
setIssuer
in interface AuthorizationServer
public AuthorizationServer.IssuerModeEnum getIssuerMode()
getIssuerMode
in interface AuthorizationServer
public AuthorizationServer setIssuerMode(AuthorizationServer.IssuerModeEnum issuerMode)
setIssuerMode
in interface AuthorizationServer
public Date getLastUpdated()
getLastUpdated
in interface AuthorizationServer
public String getName()
getName
in interface AuthorizationServer
public AuthorizationServer setName(String name)
setName
in interface AuthorizationServer
public AuthorizationServer.StatusEnum getStatus()
getStatus
in interface AuthorizationServer
public AuthorizationServer setStatus(AuthorizationServer.StatusEnum status)
setStatus
in interface AuthorizationServer
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05: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-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") public void deleteOAuth2Claim(String claimId)
deleteOAuth2Claim
in interface AuthorizationServer
claimId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/scopes") public OAuth2Scope createOAuth2Scope(OAuth2Scope oAuth2Scope)
createOAuth2Scope
in interface AuthorizationServer
oAuth2Scope
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") public OAuth2Scope getOAuth2Scope(String scopeId)
getOAuth2Scope
in interface AuthorizationServer
scopeId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/policies") public AuthorizationServerPolicy createPolicy(AuthorizationServerPolicy policy)
createPolicy
in interface AuthorizationServer
policy
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/policies") public AuthorizationServerPolicyList listPolicies()
listPolicies
in interface AuthorizationServer
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/claims") public OAuth2ClaimList listOAuth2Claims()
listOAuth2Claims
in interface AuthorizationServer
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") public OAuth2Claim getOAuth2Claim(String claimId)
getOAuth2Claim
in interface AuthorizationServer
claimId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients") public OAuth2ClientList listOAuth2Clients()
listOAuth2Clients
in interface AuthorizationServer
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05: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-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") public void deleteOAuth2Scope(String scopeId)
deleteOAuth2Scope
in interface AuthorizationServer
scopeId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05: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-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes") public OAuth2ScopeList listOAuth2Scopes(String q, String filter, String cursor)
listOAuth2Scopes
in interface AuthorizationServer
q
- (optional)filter
- (optional)cursor
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/scopes") public OAuth2ScopeList listOAuth2Scopes()
listOAuth2Scopes
in interface AuthorizationServer
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") public void revokeRefreshTokensForClient(String clientId)
revokeRefreshTokensForClient
in interface AuthorizationServer
clientId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/credentials/lifecycle/keyRotate") public JsonWebKeyList rotateKeys(JwkUse use)
rotateKeys
in interface AuthorizationServer
use
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") public OAuth2RefreshTokenList listRefreshTokensForClient(String clientId, String expand)
listRefreshTokensForClient
in interface AuthorizationServer
clientId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens") public OAuth2RefreshTokenList listRefreshTokensForClient(String clientId)
listRefreshTokensForClient
in interface AuthorizationServer
clientId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}") public void delete()
delete
in interface AuthorizationServer
delete
in interface Deletable
delete
in class AbstractInstanceResource<AuthorizationServer>
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/claims/{claimId}") public OAuth2Claim updateOAuth2Claim(String claimId, OAuth2Claim oAuth2Claim)
updateOAuth2Claim
in interface AuthorizationServer
claimId
- (required)oAuth2Claim
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") public OAuth2RefreshToken getRefreshTokenForClient(String clientId, String tokenId, String expand)
getRefreshTokenForClient
in interface AuthorizationServer
clientId
- (required)tokenId
- (required)expand
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") public OAuth2RefreshToken getRefreshTokenForClient(String clientId, String tokenId)
getRefreshTokenForClient
in interface AuthorizationServer
clientId
- (required)tokenId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") public AuthorizationServerPolicy updatePolicy(String policyId, AuthorizationServerPolicy policy)
updatePolicy
in interface AuthorizationServer
policyId
- (required)policy
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/clients/{clientId}/tokens/{tokenId}") public void revokeRefreshTokenForClient(String clientId, String tokenId)
revokeRefreshTokenForClient
in interface AuthorizationServer
clientId
- (required)tokenId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") public void deletePolicy(String policyId)
deletePolicy
in interface AuthorizationServer
policyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") public AuthorizationServerPolicy getPolicy(String policyId)
getPolicy
in interface AuthorizationServer
policyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}") public AuthorizationServer update()
update
in interface AuthorizationServer
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/scopes/{scopeId}") public OAuth2Scope updateOAuth2Scope(String scopeId, OAuth2Scope oAuth2Scope)
updateOAuth2Scope
in interface AuthorizationServer
scopeId
- (required)oAuth2Scope
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/claims") public OAuth2Claim createOAuth2Claim(OAuth2Claim oAuth2Claim)
createOAuth2Claim
in interface AuthorizationServer
oAuth2Claim
- (required)Copyright © 2017–2023 Okta. All rights reserved.