Class UserResourcesApi

java.lang.Object
com.okta.sdk.resource.api.UserResourcesApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class UserResourcesApi extends Object
  • Constructor Details

    • UserResourcesApi

      public UserResourcesApi()
    • UserResourcesApi

      public UserResourcesApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • listAppLinks

      public List<AppLink> listAppLinks(String userId) throws ApiException
      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 ApiException
      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)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<AppLink>
      Throws:
      ApiException - if fails to make API call
    • listUserClients

      public List<OAuth2Client> listUserClients(String userId) throws ApiException
      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 ApiException
      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)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<OAuth2Client>
      Throws:
      ApiException - if fails to make API call
    • listUserGroups

      public List<Group> listUserGroups(String userId) throws ApiException
      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 ApiException
      List 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()