Package com.okta.sdk.resource.api
Class UserResourcesApi
java.lang.Object
com.okta.sdk.resource.api.UserResourcesApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class UserResourcesApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.databind.ObjectMapper
listAppLinks
(String userId) List all Assigned App Links Lists all App Links for all direct or indirect (via group membership) assigned appslistAppLinks
(String userId, Map<String, String> additionalHeaders) List all Assigned App Links Lists all App Links for all direct or indirect (via group membership) assigned appslistUserClients
(String userId) List all Clients Lists all Client resources for which the specified User has grants or tokenslistUserClients
(String userId, Map<String, String> additionalHeaders) List all Clients Lists all Client resources for which the specified User has grants or tokenslistUserGroups
(String userId) List all Groups Lists all Groups of which the User is a memberlistUserGroups
(String userId, Map<String, String> additionalHeaders) List all Groups Lists all Groups of which the User is a membervoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
UserResourcesApi
public UserResourcesApi() -
UserResourcesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
listAppLinks
List all Assigned App Links Lists all App Links for all direct or indirect (via group membership) assigned apps- Parameters:
userId
- ID of an existing Okta user (required)- Returns:
- List<AppLink>
- Throws:
ApiException
- if fails to make API call
-
listAppLinks
public List<AppLink> listAppLinks(String userId, Map<String, String> additionalHeaders) throws ApiExceptionList all Assigned App Links Lists all App Links for all direct or indirect (via group membership) assigned apps- Parameters:
userId
- ID of an existing Okta user (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<AppLink>
- Throws:
ApiException
- if fails to make API call
-
listUserClients
List all Clients Lists all Client resources for which the specified User has grants or tokens- Parameters:
userId
- ID of an existing Okta user (required)- Returns:
- List<OAuth2Client>
- Throws:
ApiException
- if fails to make API call
-
listUserClients
public List<OAuth2Client> listUserClients(String userId, Map<String, String> additionalHeaders) throws ApiExceptionList all Clients Lists all Client resources for which the specified User has grants or tokens- Parameters:
userId
- ID of an existing Okta user (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<OAuth2Client>
- Throws:
ApiException
- if fails to make API call
-
listUserGroups
List all Groups Lists all Groups of which the User is a member- Parameters:
userId
- ID of an existing Okta user (required)- Returns:
- List<Group>
- Throws:
ApiException
- if fails to make API call
-
listUserGroups
public List<Group> listUserGroups(String userId, Map<String, String> additionalHeaders) throws ApiExceptionList all Groups Lists all Groups of which the User is a member- Parameters:
userId
- ID of an existing Okta user (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<Group>
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-