Class OrgAuthorizedClientsApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getOrgAuthorizedClient.static classManage optional parameters to listOrgAuthorizedClients.static classManage optional parameters to listOrgAuthorizedClientUserAuthorizations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteOrgAuthorizedClient(String orgAuthorizedClientId) Delete an org authorized client.voiddeleteOrgAuthorizedClientAllUserAuthorizations(String orgAuthorizedClientId, String userId) Delete a user's authorizations for a client.deleteOrgAuthorizedClientAllUserAuthorizationsAsync(String orgAuthorizedClientId, String userId) Delete a user's authorizations for a client.deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfo(String orgAuthorizedClientId, String userId) Disable all authorizations for a specific user for the specified OAuth2 client in the current organization.deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfoAsync(String orgAuthorizedClientId, String userId) Delete a user's authorizations for a client.deleteOrgAuthorizedClientAsync(String orgAuthorizedClientId) Delete an org authorized client.voiddeleteOrgAuthorizedClientUserAuthorization(String orgAuthorizedClientId, String userAuthorizedClientId) Delete a user authorization for a client.deleteOrgAuthorizedClientUserAuthorizationAsync(String orgAuthorizedClientId, String userAuthorizedClientId) Delete a user authorization for a client.deleteOrgAuthorizedClientUserAuthorizationWithHttpInfo(String orgAuthorizedClientId, String userAuthorizedClientId) Disable a specific user authorization for the specified OAuth2 client in the current organization.deleteOrgAuthorizedClientUserAuthorizationWithHttpInfoAsync(String orgAuthorizedClientId, String userAuthorizedClientId) Delete a user authorization for a client.deleteOrgAuthorizedClientWithHttpInfo(String orgAuthorizedClientId) Disable an OAuth2 client authorization for the current organization, revoking access for all users.deleteOrgAuthorizedClientWithHttpInfoAsync(String orgAuthorizedClientId) Delete an org authorized client.Get the API client.getOrgAuthorizedClient(String orgAuthorizedClientId) Get an org authorized client.getOrgAuthorizedClient(String orgAuthorizedClientId, OrgAuthorizedClientsApi.GetOrgAuthorizedClientOptionalParameters parameters) Get an org authorized client.getOrgAuthorizedClientAsync(String orgAuthorizedClientId) Get an org authorized client.getOrgAuthorizedClientAsync(String orgAuthorizedClientId, OrgAuthorizedClientsApi.GetOrgAuthorizedClientOptionalParameters parameters) Get an org authorized client.getOrgAuthorizedClientWithHttpInfo(String orgAuthorizedClientId, OrgAuthorizedClientsApi.GetOrgAuthorizedClientOptionalParameters parameters) Get a single OAuth2 client authorized for the current organization.getOrgAuthorizedClientWithHttpInfoAsync(String orgAuthorizedClientId, OrgAuthorizedClientsApi.GetOrgAuthorizedClientOptionalParameters parameters) Get an org authorized client.List org authorized clients.listOrgAuthorizedClients(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) List org authorized clients.List org authorized clients.listOrgAuthorizedClientsAsync(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) List org authorized clients.listOrgAuthorizedClientsWithHttpInfo(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) Get a list of all OAuth2 clients authorized for the current organization.listOrgAuthorizedClientsWithHttpInfoAsync(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) List org authorized clients.List org authorized clients.listOrgAuthorizedClientsWithPagination(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) List org authorized clients.listOrgAuthorizedClientUserAuthorizations(String orgAuthorizedClientId) List user authorizations for a client.listOrgAuthorizedClientUserAuthorizations(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) List user authorizations for a client.listOrgAuthorizedClientUserAuthorizationsAsync(String orgAuthorizedClientId) List user authorizations for a client.listOrgAuthorizedClientUserAuthorizationsAsync(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) List user authorizations for a client.listOrgAuthorizedClientUserAuthorizationsWithHttpInfo(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) Get a list of user authorizations for the specified OAuth2 client in the current organization.listOrgAuthorizedClientUserAuthorizationsWithHttpInfoAsync(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) List user authorizations for a client.listOrgAuthorizedClientUserAuthorizationsWithPagination(String orgAuthorizedClientId) List user authorizations for a client.listOrgAuthorizedClientUserAuthorizationsWithPagination(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) List user authorizations for a client.voidsetApiClient(ApiClient apiClient) Set the API client.updateOrgAuthorizedClient(String orgAuthorizedClientId, OrgAuthorizedClientUpdateRequest body) Update an org authorized client.updateOrgAuthorizedClientAsync(String orgAuthorizedClientId, OrgAuthorizedClientUpdateRequest body) Update an org authorized client.updateOrgAuthorizedClientWithHttpInfo(String orgAuthorizedClientId, OrgAuthorizedClientUpdateRequest body) Enable or disable an OAuth2 client authorization for the current organization.updateOrgAuthorizedClientWithHttpInfoAsync(String orgAuthorizedClientId, OrgAuthorizedClientUpdateRequest body) Update an org authorized client.
-
Constructor Details
-
OrgAuthorizedClientsApi
public OrgAuthorizedClientsApi() -
OrgAuthorizedClientsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
deleteOrgAuthorizedClient
Delete an org authorized client.See
deleteOrgAuthorizedClientWithHttpInfo(java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Throws:
ApiException- if fails to make API call
-
deleteOrgAuthorizedClientAsync
Delete an org authorized client.See
deleteOrgAuthorizedClientWithHttpInfoAsync(java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- CompletableFuture
-
deleteOrgAuthorizedClientWithHttpInfo
public ApiResponse<Void> deleteOrgAuthorizedClientWithHttpInfo(String orgAuthorizedClientId) throws ApiException Disable an OAuth2 client authorization for the current organization, revoking access for all users.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Authentication error - 404 Not Found - 429 Too many requests -
-
deleteOrgAuthorizedClientWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteOrgAuthorizedClientWithHttpInfoAsync(String orgAuthorizedClientId) Delete an org authorized client.See
deleteOrgAuthorizedClientWithHttpInfo(java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteOrgAuthorizedClientAllUserAuthorizations
public void deleteOrgAuthorizedClientAllUserAuthorizations(String orgAuthorizedClientId, String userId) throws ApiException Delete a user's authorizations for a client.See
deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)userId- The ID of the user. (required)- Throws:
ApiException- if fails to make API call
-
deleteOrgAuthorizedClientAllUserAuthorizationsAsync
public CompletableFuture<Void> deleteOrgAuthorizedClientAllUserAuthorizationsAsync(String orgAuthorizedClientId, String userId) Delete a user's authorizations for a client.See
deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)userId- The ID of the user. (required)- Returns:
- CompletableFuture
-
deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfo
public ApiResponse<Void> deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfo(String orgAuthorizedClientId, String userId) throws ApiException Disable all authorizations for a specific user for the specified OAuth2 client in the current organization.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)userId- The ID of the user. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Authentication error - 404 Not Found - 429 Too many requests -
-
deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfoAsync(String orgAuthorizedClientId, String userId) Delete a user's authorizations for a client.See
deleteOrgAuthorizedClientAllUserAuthorizationsWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)userId- The ID of the user. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteOrgAuthorizedClientUserAuthorization
public void deleteOrgAuthorizedClientUserAuthorization(String orgAuthorizedClientId, String userAuthorizedClientId) throws ApiException Delete a user authorization for a client.See
deleteOrgAuthorizedClientUserAuthorizationWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)userAuthorizedClientId- The ID of the user authorized client. (required)- Throws:
ApiException- if fails to make API call
-
deleteOrgAuthorizedClientUserAuthorizationAsync
public CompletableFuture<Void> deleteOrgAuthorizedClientUserAuthorizationAsync(String orgAuthorizedClientId, String userAuthorizedClientId) Delete a user authorization for a client.See
deleteOrgAuthorizedClientUserAuthorizationWithHttpInfoAsync(java.lang.String, java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)userAuthorizedClientId- The ID of the user authorized client. (required)- Returns:
- CompletableFuture
-
deleteOrgAuthorizedClientUserAuthorizationWithHttpInfo
public ApiResponse<Void> deleteOrgAuthorizedClientUserAuthorizationWithHttpInfo(String orgAuthorizedClientId, String userAuthorizedClientId) throws ApiException Disable a specific user authorization for the specified OAuth2 client in the current organization.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)userAuthorizedClientId- The ID of the user authorized client. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Authentication error - 404 Not Found - 429 Too many requests -
-
deleteOrgAuthorizedClientUserAuthorizationWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteOrgAuthorizedClientUserAuthorizationWithHttpInfoAsync(String orgAuthorizedClientId, String userAuthorizedClientId) Delete a user authorization for a client.See
deleteOrgAuthorizedClientUserAuthorizationWithHttpInfo(java.lang.String, java.lang.String).- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)userAuthorizedClientId- The ID of the user authorized client. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getOrgAuthorizedClient
public OrgAuthorizedClientResponse getOrgAuthorizedClient(String orgAuthorizedClientId) throws ApiException Get an org authorized client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- OrgAuthorizedClientResponse
- Throws:
ApiException- if fails to make API call
-
getOrgAuthorizedClientAsync
public CompletableFuture<OrgAuthorizedClientResponse> getOrgAuthorizedClientAsync(String orgAuthorizedClientId) Get an org authorized client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- CompletableFuture<OrgAuthorizedClientResponse>
-
getOrgAuthorizedClient
public OrgAuthorizedClientResponse getOrgAuthorizedClient(String orgAuthorizedClientId, OrgAuthorizedClientsApi.GetOrgAuthorizedClientOptionalParameters parameters) throws ApiException Get an org authorized client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)parameters- Optional parameters for the request.- Returns:
- OrgAuthorizedClientResponse
- Throws:
ApiException- if fails to make API call
-
getOrgAuthorizedClientAsync
public CompletableFuture<OrgAuthorizedClientResponse> getOrgAuthorizedClientAsync(String orgAuthorizedClientId, OrgAuthorizedClientsApi.GetOrgAuthorizedClientOptionalParameters parameters) Get an org authorized client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<OrgAuthorizedClientResponse>
-
getOrgAuthorizedClientWithHttpInfo
public ApiResponse<OrgAuthorizedClientResponse> getOrgAuthorizedClientWithHttpInfo(String orgAuthorizedClientId, OrgAuthorizedClientsApi.GetOrgAuthorizedClientOptionalParameters parameters) throws ApiException Get a single OAuth2 client authorized for the current organization.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<OrgAuthorizedClientResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Authentication error - 404 Not Found - 429 Too many requests -
-
getOrgAuthorizedClientWithHttpInfoAsync
public CompletableFuture<ApiResponse<OrgAuthorizedClientResponse>> getOrgAuthorizedClientWithHttpInfoAsync(String orgAuthorizedClientId, OrgAuthorizedClientsApi.GetOrgAuthorizedClientOptionalParameters parameters) Get an org authorized client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<OrgAuthorizedClientResponse>>
-
listOrgAuthorizedClients
List org authorized clients.- Returns:
- OrgAuthorizedClientsResponse
- Throws:
ApiException- if fails to make API call
-
listOrgAuthorizedClientsAsync
List org authorized clients.- Returns:
- CompletableFuture<OrgAuthorizedClientsResponse>
-
listOrgAuthorizedClients
public OrgAuthorizedClientsResponse listOrgAuthorizedClients(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) throws ApiException List org authorized clients.- Parameters:
parameters- Optional parameters for the request.- Returns:
- OrgAuthorizedClientsResponse
- Throws:
ApiException- if fails to make API call
-
listOrgAuthorizedClientsAsync
public CompletableFuture<OrgAuthorizedClientsResponse> listOrgAuthorizedClientsAsync(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) List org authorized clients.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<OrgAuthorizedClientsResponse>
-
listOrgAuthorizedClientsWithPagination
List org authorized clients.- Returns:
- PaginationIterable<OrgAuthorizedClientData>
-
listOrgAuthorizedClientsWithPagination
public PaginationIterable<OrgAuthorizedClientData> listOrgAuthorizedClientsWithPagination(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) List org authorized clients.- Returns:
- OrgAuthorizedClientsResponse
-
listOrgAuthorizedClientsWithHttpInfo
public ApiResponse<OrgAuthorizedClientsResponse> listOrgAuthorizedClientsWithHttpInfo(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) throws ApiException Get a list of all OAuth2 clients authorized for the current organization.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<OrgAuthorizedClientsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Authentication error - 429 Too many requests -
-
listOrgAuthorizedClientsWithHttpInfoAsync
public CompletableFuture<ApiResponse<OrgAuthorizedClientsResponse>> listOrgAuthorizedClientsWithHttpInfoAsync(OrgAuthorizedClientsApi.ListOrgAuthorizedClientsOptionalParameters parameters) List org authorized clients.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<OrgAuthorizedClientsResponse>>
-
listOrgAuthorizedClientUserAuthorizations
public UserAuthorizedClientsResponse listOrgAuthorizedClientUserAuthorizations(String orgAuthorizedClientId) throws ApiException List user authorizations for a client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- UserAuthorizedClientsResponse
- Throws:
ApiException- if fails to make API call
-
listOrgAuthorizedClientUserAuthorizationsAsync
public CompletableFuture<UserAuthorizedClientsResponse> listOrgAuthorizedClientUserAuthorizationsAsync(String orgAuthorizedClientId) List user authorizations for a client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- CompletableFuture<UserAuthorizedClientsResponse>
-
listOrgAuthorizedClientUserAuthorizations
public UserAuthorizedClientsResponse listOrgAuthorizedClientUserAuthorizations(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) throws ApiException List user authorizations for a client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)parameters- Optional parameters for the request.- Returns:
- UserAuthorizedClientsResponse
- Throws:
ApiException- if fails to make API call
-
listOrgAuthorizedClientUserAuthorizationsAsync
public CompletableFuture<UserAuthorizedClientsResponse> listOrgAuthorizedClientUserAuthorizationsAsync(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) List user authorizations for a client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<UserAuthorizedClientsResponse>
-
listOrgAuthorizedClientUserAuthorizationsWithPagination
public PaginationIterable<UserAuthorizedClientData> listOrgAuthorizedClientUserAuthorizationsWithPagination(String orgAuthorizedClientId) List user authorizations for a client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- PaginationIterable<UserAuthorizedClientData>
-
listOrgAuthorizedClientUserAuthorizationsWithPagination
public PaginationIterable<UserAuthorizedClientData> listOrgAuthorizedClientUserAuthorizationsWithPagination(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) List user authorizations for a client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)- Returns:
- UserAuthorizedClientsResponse
-
listOrgAuthorizedClientUserAuthorizationsWithHttpInfo
public ApiResponse<UserAuthorizedClientsResponse> listOrgAuthorizedClientUserAuthorizationsWithHttpInfo(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) throws ApiException Get a list of user authorizations for the specified OAuth2 client in the current organization.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<UserAuthorizedClientsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Authentication error - 404 Not Found - 429 Too many requests -
-
listOrgAuthorizedClientUserAuthorizationsWithHttpInfoAsync
public CompletableFuture<ApiResponse<UserAuthorizedClientsResponse>> listOrgAuthorizedClientUserAuthorizationsWithHttpInfoAsync(String orgAuthorizedClientId, OrgAuthorizedClientsApi.ListOrgAuthorizedClientUserAuthorizationsOptionalParameters parameters) List user authorizations for a client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<UserAuthorizedClientsResponse>>
-
updateOrgAuthorizedClient
public OrgAuthorizedClientResponse updateOrgAuthorizedClient(String orgAuthorizedClientId, OrgAuthorizedClientUpdateRequest body) throws ApiException Update an org authorized client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)body- (required)- Returns:
- OrgAuthorizedClientResponse
- Throws:
ApiException- if fails to make API call
-
updateOrgAuthorizedClientAsync
public CompletableFuture<OrgAuthorizedClientResponse> updateOrgAuthorizedClientAsync(String orgAuthorizedClientId, OrgAuthorizedClientUpdateRequest body) Update an org authorized client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)body- (required)- Returns:
- CompletableFuture<OrgAuthorizedClientResponse>
-
updateOrgAuthorizedClientWithHttpInfo
public ApiResponse<OrgAuthorizedClientResponse> updateOrgAuthorizedClientWithHttpInfo(String orgAuthorizedClientId, OrgAuthorizedClientUpdateRequest body) throws ApiException Enable or disable an OAuth2 client authorization for the current organization.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)body- (required)- Returns:
- ApiResponse<OrgAuthorizedClientResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication error - 404 Not Found - 422 Unprocessable Entity - 429 Too many requests -
-
updateOrgAuthorizedClientWithHttpInfoAsync
public CompletableFuture<ApiResponse<OrgAuthorizedClientResponse>> updateOrgAuthorizedClientWithHttpInfoAsync(String orgAuthorizedClientId, OrgAuthorizedClientUpdateRequest body) Update an org authorized client.- Parameters:
orgAuthorizedClientId- The ID of the org authorized client. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<OrgAuthorizedClientResponse>>
-