@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T17:07:26.321-05:00[America/Chicago]") public class ApplicationUsersApi extends Object
Constructor and Description |
---|
ApplicationUsersApi() |
ApplicationUsersApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
AppUser |
assignUserToApplication(String appId,
AppUser appUser)
Assign a User
Assigns a user to an app with credentials and an app-specific [profile](/openapi/okta-management/management/tag/Application/#tag/Application/operation/assignUserToApplication!c=200&path=profile&t=response).
|
AppUser |
assignUserToApplication(String appId,
AppUser appUser,
Map<String,String> additionalHeaders)
Assign a User
Assigns a user to an app with credentials and an app-specific [profile](/openapi/okta-management/management/tag/Application/#tag/Application/operation/assignUserToApplication!c=200&path=profile&t=response).
|
ApiClient |
getApiClient() |
AppUser |
getApplicationUser(String appId,
String userId,
String expand)
Retrieve an assigned User
Retrieves a specific user assignment for app by `id`
|
AppUser |
getApplicationUser(String appId,
String userId,
String expand,
Map<String,String> additionalHeaders)
Retrieve an assigned User
Retrieves a specific user assignment for app by `id`
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<AppUser> |
listApplicationUsers(String appId,
String q,
String queryScope,
String after,
Integer limit,
String filter,
String expand)
List all assigned Users
Lists all assigned users for an app
|
List<AppUser> |
listApplicationUsers(String appId,
String q,
String queryScope,
String after,
Integer limit,
String filter,
String expand,
Map<String,String> additionalHeaders)
List all assigned Users
Lists all assigned users for an app
|
void |
setApiClient(ApiClient apiClient) |
void |
unassignUserFromApplication(String appId,
String userId,
Boolean sendEmail)
Unassign an App User
Unassigns a user from an application
|
void |
unassignUserFromApplication(String appId,
String userId,
Boolean sendEmail,
Map<String,String> additionalHeaders)
Unassign an App User
Unassigns a user from an application
|
AppUser |
updateApplicationUser(String appId,
String userId,
AppUser appUser)
Update an App Profile for an assigned User
Updates a user's profile for an application
|
AppUser |
updateApplicationUser(String appId,
String userId,
AppUser appUser,
Map<String,String> additionalHeaders)
Update an App Profile for an assigned User
Updates a user's profile for an application
|
public ApplicationUsersApi()
public ApplicationUsersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public AppUser assignUserToApplication(String appId, AppUser appUser) throws ApiException
appId
- ID of the Application (required)appUser
- (required)ApiException
- if fails to make API callpublic AppUser assignUserToApplication(String appId, AppUser appUser, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)appUser
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AppUser getApplicationUser(String appId, String userId, String expand) throws ApiException
appId
- ID of the Application (required)userId
- (required)expand
- (optional)ApiException
- if fails to make API callpublic AppUser getApplicationUser(String appId, String userId, String expand, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)userId
- (required)expand
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<AppUser> listApplicationUsers(String appId, String q, String queryScope, String after, Integer limit, String filter, String expand) throws ApiException
appId
- ID of the Application (required)q
- (optional)queryScope
- (optional)after
- specifies the pagination cursor for the next page of assignments (optional)limit
- specifies the number of results for a page (optional, default to -1)filter
- (optional)expand
- (optional)ApiException
- if fails to make API callpublic List<AppUser> listApplicationUsers(String appId, String q, String queryScope, String after, Integer limit, String filter, String expand, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)q
- (optional)queryScope
- (optional)after
- specifies the pagination cursor for the next page of assignments (optional)limit
- specifies the number of results for a page (optional, default to -1)filter
- (optional)expand
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignUserFromApplication(String appId, String userId, Boolean sendEmail) throws ApiException
appId
- ID of the Application (required)userId
- (required)sendEmail
- (optional, default to false)ApiException
- if fails to make API callpublic void unassignUserFromApplication(String appId, String userId, Boolean sendEmail, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)userId
- (required)sendEmail
- (optional, default to false)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic AppUser updateApplicationUser(String appId, String userId, AppUser appUser) throws ApiException
appId
- ID of the Application (required)userId
- (required)appUser
- (required)ApiException
- if fails to make API callpublic AppUser updateApplicationUser(String appId, String userId, AppUser appUser, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)userId
- (required)appUser
- (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.