Interface Application
-
- All Superinterfaces:
Deletable
,ExtensibleResource
,java.util.Map<java.lang.String,java.lang.Object>
,PropertyRetriever
,Resource
- All Known Subinterfaces:
AutoLoginApplication
,BasicAuthApplication
,BookmarkApplication
,BrowserPluginApplication
,OpenIdConnectApplication
,Org2OrgApplication
,SamlApplication
,SecurePasswordStoreApplication
,SwaApplication
,SwaThreeFieldApplication
,WsFederationApplication
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00") public interface Application extends ExtensibleResource, Deletable
Application
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Application.StatusEnum
Enum status
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
activate()
Activate Application Activates an inactive application.AppUser
assignUserToApplication(AppUser appUser)
Assign User to Application for SSO & Provisioning Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object).JsonWebKey
cloneApplicationKey(java.lang.String keyId, java.lang.String targetAid)
Clone Application Key Credential Clones a X.509 certificate for an application key credential from a source application to target application.ApplicationGroupAssignment
createApplicationGroupAssignment(java.lang.String groupId)
Assign Group to Application Assigns a group to an applicationApplicationGroupAssignment
createApplicationGroupAssignment(java.lang.String groupId, ApplicationGroupAssignment applicationGroupAssignment)
Assign Group to Application Assigns a group to an applicationvoid
deactivate()
Deactivate Application Deactivates an active application.void
delete()
Delete Application Removes an inactive application.Csr
generateCsr(CsrMetadata metadata)
Generate Certificate Signing Request for Application Generates a new key pair and returns the Certificate Signing Request for it.JsonWebKey
generateKey()
Generates a new X.509 certificate for an application key credentialJsonWebKey
generateKey(java.lang.Integer validityYears)
Generates a new X.509 certificate for an application key credentialApplicationAccessibility
getAccessibility()
ApplicationGroupAssignment
getApplicationGroupAssignment(java.lang.String groupId)
Get Assigned Group for Application Fetches an application group assignmentApplicationGroupAssignment
getApplicationGroupAssignment(java.lang.String groupId, java.lang.String expand)
Get Assigned Group for Application Fetches an application group assignmentJsonWebKey
getApplicationKey(java.lang.String keyId)
Get Key Credential for Application Gets a specific application key credential by kidAppUser
getApplicationUser(java.lang.String userId)
Get Assigned User for Application Fetches a specific user assignment for application by `id`.AppUser
getApplicationUser(java.lang.String userId, java.lang.String expand)
Get Assigned User for Application Fetches a specific user assignment for application by `id`.java.util.Date
getCreated()
ApplicationCredentials
getCredentials()
Csr
getCsr(java.lang.String csrId)
java.util.Map<java.lang.String,java.lang.Object>
getEmbedded()
ApplicationFeature
getFeatureForApplication(java.lang.String name)
Fetches a Feature object for an application.java.util.List<java.lang.String>
getFeatures()
java.lang.String
getId()
java.lang.String
getLabel()
java.util.Date
getLastUpdated()
ApplicationLicensing
getLicensing()
java.util.Map<java.lang.String,java.lang.Object>
getLinks()
java.lang.String
getName()
OAuth2Token
getOAuth2Token(java.lang.String tokenId)
Gets a token for the specified applicationOAuth2Token
getOAuth2Token(java.lang.String tokenId, java.lang.String expand)
Gets a token for the specified applicationjava.util.Map<java.lang.String,java.lang.Object>
getProfile()
OAuth2ScopeConsentGrant
getScopeConsentGrant(java.lang.String grantId)
Fetches a single scope consent grant for the applicationOAuth2ScopeConsentGrant
getScopeConsentGrant(java.lang.String grantId, java.lang.String expand)
Fetches a single scope consent grant for the applicationApplicationSettings
getSettings()
ApplicationSignOnMode
getSignOnMode()
Application.StatusEnum
getStatus()
ApplicationVisibility
getVisibility()
OAuth2ScopeConsentGrant
grantConsentToScope(OAuth2ScopeConsentGrant oAuth2ScopeConsentGrant)
Grants consent for the application to request an OAuth 2.0 Okta scopeAppUserList
listApplicationUsers()
List Users Assigned to Application Enumerates all assigned [application users](#application-user-model) for an application.AppUserList
listApplicationUsers(java.lang.String q, java.lang.String queryScope, java.lang.String filter, java.lang.String expand)
List Users Assigned to Application Enumerates all assigned [application users](#application-user-model) for an application.CsrList
listCsrs()
List Certificate Signing Requests for Application Enumerates Certificate Signing Requests for an applicationApplicationGroupAssignmentList
listGroupAssignments()
List Groups Assigned to Application Enumerates group assignments for an application.ApplicationGroupAssignmentList
listGroupAssignments(java.lang.String q, java.lang.String expand)
List Groups Assigned to Application Enumerates group assignments for an application.JsonWebKeyList
listKeys()
List Key Credentials for Application Enumerates key credentials for an applicationOAuth2TokenList
listOAuth2Tokens()
Lists all tokens for the applicationOAuth2TokenList
listOAuth2Tokens(java.lang.String expand)
Lists all tokens for the applicationOAuth2ScopeConsentGrantList
listScopeConsentGrants()
Lists all scope consent grants for the applicationOAuth2ScopeConsentGrantList
listScopeConsentGrants(java.lang.String expand)
Lists all scope consent grants for the applicationJsonWebKey
publishBinaryCerCert(java.lang.String csrId)
JsonWebKey
publishBinaryDerCert(java.lang.String csrId)
JsonWebKey
publishBinaryPemCert(java.lang.String csrId)
JsonWebKey
publishCerCert(java.lang.String csrId)
JsonWebKey
publishDerCert(java.lang.String csrId)
void
revokeCsr(java.lang.String csrId)
void
revokeOAuth2TokenForApplication(java.lang.String tokenId)
Revokes the specified token for the specified applicationvoid
revokeOAuth2Tokens()
Revokes all tokens for the specified applicationvoid
revokeScopeConsentGrant(java.lang.String grantId)
Revokes permission for the application to request the given scopeApplication
setAccessibility(ApplicationAccessibility accessibility)
Application
setCredentials(ApplicationCredentials credentials)
Application
setFeatures(java.util.List<java.lang.String> features)
Application
setLabel(java.lang.String label)
Application
setLicensing(ApplicationLicensing licensing)
Application
setProfile(java.util.Map<java.lang.String,java.lang.Object> profile)
Application
setSettings(ApplicationSettings settings)
Application
setSignOnMode(ApplicationSignOnMode signOnMode)
Application
setVisibility(ApplicationVisibility visibility)
Application
update()
Update Application Updates an application in your organization.ApplicationFeature
updateFeatureForApplication(java.lang.String name, CapabilitiesObject capabilities)
Updates a Feature object for an application.void
uploadApplicationLogo(java.lang.String appId, java.io.File file)
The file must be in PNG, JPG, or GIF format, and less than 1 MB in size.-
Methods inherited from interface java.util.Map
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
-
Methods inherited from interface com.okta.sdk.resource.PropertyRetriever
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
-
Methods inherited from interface com.okta.sdk.resource.Resource
getResourceHref, setResourceHref
-
-
-
-
Method Detail
-
getEmbedded
java.util.Map<java.lang.String,java.lang.Object> getEmbedded()
-
getLinks
java.util.Map<java.lang.String,java.lang.Object> getLinks()
-
getAccessibility
ApplicationAccessibility getAccessibility()
-
setAccessibility
Application setAccessibility(ApplicationAccessibility accessibility)
-
getCreated
java.util.Date getCreated()
-
getCredentials
ApplicationCredentials getCredentials()
-
setCredentials
Application setCredentials(ApplicationCredentials credentials)
-
getFeatures
java.util.List<java.lang.String> getFeatures()
-
setFeatures
Application setFeatures(java.util.List<java.lang.String> features)
-
getId
java.lang.String getId()
-
getLabel
java.lang.String getLabel()
-
setLabel
Application setLabel(java.lang.String label)
-
getLastUpdated
java.util.Date getLastUpdated()
-
getLicensing
ApplicationLicensing getLicensing()
-
setLicensing
Application setLicensing(ApplicationLicensing licensing)
-
getName
java.lang.String getName()
-
getProfile
java.util.Map<java.lang.String,java.lang.Object> getProfile()
-
setProfile
Application setProfile(java.util.Map<java.lang.String,java.lang.Object> profile)
-
getSettings
ApplicationSettings getSettings()
-
setSettings
Application setSettings(ApplicationSettings settings)
-
getSignOnMode
ApplicationSignOnMode getSignOnMode()
-
setSignOnMode
Application setSignOnMode(ApplicationSignOnMode signOnMode)
-
getStatus
Application.StatusEnum getStatus()
-
getVisibility
ApplicationVisibility getVisibility()
-
setVisibility
Application setVisibility(ApplicationVisibility visibility)
-
getFeatureForApplication
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/features/{name}") ApplicationFeature getFeatureForApplication(java.lang.String name)
Fetches a Feature object for an application. Fetches a Feature object for an application.- Parameters:
name
- (required)- Returns:
- ApplicationFeature
-
revokeCsr
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="DELETE - /api/v1/apps/{appId}/credentials/csrs/{csrId}") void revokeCsr(java.lang.String csrId)
- Parameters:
csrId
- (required)
-
getCsr
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/credentials/csrs/{csrId}") Csr getCsr(java.lang.String csrId)
- Parameters:
csrId
- (required)- Returns:
- Csr
-
getApplicationUser
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/users/{userId}") AppUser getApplicationUser(java.lang.String userId, java.lang.String expand)
Get Assigned User for Application Fetches a specific user assignment for application by `id`.- Parameters:
userId
- (required)expand
- (optional)- Returns:
- AppUser
-
getApplicationUser
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/users/{userId}") AppUser getApplicationUser(java.lang.String userId)
Get Assigned User for Application Fetches a specific user assignment for application by `id`.- Parameters:
userId
- (required)- Returns:
- AppUser
-
cloneApplicationKey
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/keys/{keyId}/clone") JsonWebKey cloneApplicationKey(java.lang.String keyId, java.lang.String targetAid)
Clone Application Key Credential Clones a X.509 certificate for an application key credential from a source application to target application.- Parameters:
keyId
- (required)targetAid
- Unique key of the target Application (required)- Returns:
- JsonWebKey
-
generateCsr
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/csrs") Csr generateCsr(CsrMetadata metadata)
Generate Certificate Signing Request for Application Generates a new key pair and returns the Certificate Signing Request for it.- Parameters:
metadata
- (required)- Returns:
- Csr
-
listGroupAssignments
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/groups") ApplicationGroupAssignmentList listGroupAssignments(java.lang.String q, java.lang.String expand)
List Groups Assigned to Application Enumerates group assignments for an application.- Parameters:
q
- (optional)expand
- (optional)- Returns:
- ApplicationGroupAssignmentList
-
listGroupAssignments
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/groups") ApplicationGroupAssignmentList listGroupAssignments()
List Groups Assigned to Application Enumerates group assignments for an application.- Returns:
- ApplicationGroupAssignmentList
-
listScopeConsentGrants
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/grants") OAuth2ScopeConsentGrantList listScopeConsentGrants(java.lang.String expand)
Lists all scope consent grants for the application- Parameters:
expand
- (optional)- Returns:
- OAuth2ScopeConsentGrantList
-
listScopeConsentGrants
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/grants") OAuth2ScopeConsentGrantList listScopeConsentGrants()
Lists all scope consent grants for the application- Returns:
- OAuth2ScopeConsentGrantList
-
revokeOAuth2TokenForApplication
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="DELETE - /api/v1/apps/{appId}/tokens/{tokenId}") void revokeOAuth2TokenForApplication(java.lang.String tokenId)
Revokes the specified token for the specified application- Parameters:
tokenId
- (required)
-
publishBinaryCerCert
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish") JsonWebKey publishBinaryCerCert(java.lang.String csrId)
- Parameters:
csrId
- (required)- Returns:
- JsonWebKey
-
revokeOAuth2Tokens
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="DELETE - /api/v1/apps/{appId}/tokens") void revokeOAuth2Tokens()
Revokes all tokens for the specified application
-
revokeScopeConsentGrant
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="DELETE - /api/v1/apps/{appId}/grants/{grantId}") void revokeScopeConsentGrant(java.lang.String grantId)
Revokes permission for the application to request the given scope- Parameters:
grantId
- (required)
-
assignUserToApplication
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/users") AppUser assignUserToApplication(AppUser appUser)
Assign User to Application for SSO & Provisioning Assigns an user to an application with [credentials](#application-user-credentials-object) and an app-specific [profile](#application-user-profile-object). Profile mappings defined for the application are first applied before applying any profile properties specified in the request.- Parameters:
appUser
- (required)- Returns:
- AppUser
-
grantConsentToScope
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/grants") OAuth2ScopeConsentGrant grantConsentToScope(OAuth2ScopeConsentGrant oAuth2ScopeConsentGrant)
Grants consent for the application to request an OAuth 2.0 Okta scope- Parameters:
oAuth2ScopeConsentGrant
- (required)- Returns:
- OAuth2ScopeConsentGrant
-
delete
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="DELETE - /api/v1/apps/{appId}") void delete()
Delete Application Removes an inactive application.
-
publishDerCert
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish") JsonWebKey publishDerCert(java.lang.String csrId)
- Parameters:
csrId
- (required)- Returns:
- JsonWebKey
-
activate
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/lifecycle/activate") void activate()
Activate Application Activates an inactive application.
-
createApplicationGroupAssignment
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="PUT - /api/v1/apps/{appId}/groups/{groupId}") ApplicationGroupAssignment createApplicationGroupAssignment(java.lang.String groupId, ApplicationGroupAssignment applicationGroupAssignment)
Assign Group to Application Assigns a group to an application- Parameters:
groupId
- (required)applicationGroupAssignment
- (optional)- Returns:
- ApplicationGroupAssignment
-
createApplicationGroupAssignment
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="PUT - /api/v1/apps/{appId}/groups/{groupId}") ApplicationGroupAssignment createApplicationGroupAssignment(java.lang.String groupId)
Assign Group to Application Assigns a group to an application- Parameters:
groupId
- (required)- Returns:
- ApplicationGroupAssignment
-
getApplicationGroupAssignment
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/groups/{groupId}") ApplicationGroupAssignment getApplicationGroupAssignment(java.lang.String groupId, java.lang.String expand)
Get Assigned Group for Application Fetches an application group assignment- Parameters:
groupId
- (required)expand
- (optional)- Returns:
- ApplicationGroupAssignment
-
getApplicationGroupAssignment
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/groups/{groupId}") ApplicationGroupAssignment getApplicationGroupAssignment(java.lang.String groupId)
Get Assigned Group for Application Fetches an application group assignment- Parameters:
groupId
- (required)- Returns:
- ApplicationGroupAssignment
-
generateKey
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/keys/generate") JsonWebKey generateKey(java.lang.Integer validityYears)
Generates a new X.509 certificate for an application key credential- Parameters:
validityYears
- (optional)- Returns:
- JsonWebKey
-
generateKey
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/keys/generate") JsonWebKey generateKey()
Generates a new X.509 certificate for an application key credential- Returns:
- JsonWebKey
-
listOAuth2Tokens
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/tokens") OAuth2TokenList listOAuth2Tokens(java.lang.String expand)
Lists all tokens for the application- Parameters:
expand
- (optional)- Returns:
- OAuth2TokenList
-
listOAuth2Tokens
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/tokens") OAuth2TokenList listOAuth2Tokens()
Lists all tokens for the application- Returns:
- OAuth2TokenList
-
getScopeConsentGrant
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/grants/{grantId}") OAuth2ScopeConsentGrant getScopeConsentGrant(java.lang.String grantId, java.lang.String expand)
Fetches a single scope consent grant for the application- Parameters:
grantId
- (required)expand
- (optional)- Returns:
- OAuth2ScopeConsentGrant
-
getScopeConsentGrant
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/grants/{grantId}") OAuth2ScopeConsentGrant getScopeConsentGrant(java.lang.String grantId)
Fetches a single scope consent grant for the application- Parameters:
grantId
- (required)- Returns:
- OAuth2ScopeConsentGrant
-
deactivate
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/lifecycle/deactivate") void deactivate()
Deactivate Application Deactivates an active application.
-
publishBinaryPemCert
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish") JsonWebKey publishBinaryPemCert(java.lang.String csrId)
- Parameters:
csrId
- (required)- Returns:
- JsonWebKey
-
update
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="PUT - /api/v1/apps/{appId}") Application update()
Update Application Updates an application in your organization.- Returns:
- Application
-
listKeys
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/credentials/keys") JsonWebKeyList listKeys()
List Key Credentials for Application Enumerates key credentials for an application- Returns:
- JsonWebKeyList
-
getOAuth2Token
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/tokens/{tokenId}") OAuth2Token getOAuth2Token(java.lang.String tokenId, java.lang.String expand)
Gets a token for the specified application- Parameters:
tokenId
- (required)expand
- (optional)- Returns:
- OAuth2Token
-
getOAuth2Token
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/tokens/{tokenId}") OAuth2Token getOAuth2Token(java.lang.String tokenId)
Gets a token for the specified application- Parameters:
tokenId
- (required)- Returns:
- OAuth2Token
-
listCsrs
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/credentials/csrs") CsrList listCsrs()
List Certificate Signing Requests for Application Enumerates Certificate Signing Requests for an application- Returns:
- CsrList
-
listApplicationUsers
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/users") AppUserList listApplicationUsers(java.lang.String q, java.lang.String queryScope, java.lang.String filter, java.lang.String expand)
List Users Assigned to Application Enumerates all assigned [application users](#application-user-model) for an application.- Parameters:
q
- (optional)queryScope
- (optional)filter
- (optional)expand
- (optional)- Returns:
- AppUserList
-
listApplicationUsers
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/users") AppUserList listApplicationUsers()
List Users Assigned to Application Enumerates all assigned [application users](#application-user-model) for an application.- Returns:
- AppUserList
-
getApplicationKey
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="GET - /api/v1/apps/{appId}/credentials/keys/{keyId}") JsonWebKey getApplicationKey(java.lang.String keyId)
Get Key Credential for Application Gets a specific application key credential by kid- Parameters:
keyId
- (required)- Returns:
- JsonWebKey
-
publishCerCert
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish") JsonWebKey publishCerCert(java.lang.String csrId)
- Parameters:
csrId
- (required)- Returns:
- JsonWebKey
-
updateFeatureForApplication
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="PUT - /api/v1/apps/{appId}/features/{name}") ApplicationFeature updateFeatureForApplication(java.lang.String name, CapabilitiesObject capabilities)
Updates a Feature object for an application. Updates a Feature object for an application.- Parameters:
name
- (required)capabilities
- (required)- Returns:
- ApplicationFeature
-
publishBinaryDerCert
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/credentials/csrs/{csrId}/lifecycle/publish") JsonWebKey publishBinaryDerCert(java.lang.String csrId)
- Parameters:
csrId
- (required)- Returns:
- JsonWebKey
-
uploadApplicationLogo
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2022-02-14T12:54:39.514-06:00", comments="POST - /api/v1/apps/{appId}/logo") void uploadApplicationLogo(java.lang.String appId, java.io.File file)
The file must be in PNG, JPG, or GIF format, and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling. Update the logo for an application.- Parameters:
appId
- (required)file
- (required)
-
-