Package com.launchdarkly.api.api
Class OAuth2ClientsApi
- java.lang.Object
-
- com.launchdarkly.api.api.OAuth2ClientsApi
-
public class OAuth2ClientsApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OAuth2ClientsApi()OAuth2ClientsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientcreateOAuth2Client(OauthClientPost oauthClientPost)Create a LaunchDarkly OAuth 2.0 client Create (register) a LaunchDarkly OAuth2 client.okhttp3.CallcreateOAuth2ClientAsync(OauthClientPost oauthClientPost, ApiCallback<Client> _callback)Create a LaunchDarkly OAuth 2.0 client (asynchronously) Create (register) a LaunchDarkly OAuth2 client.okhttp3.CallcreateOAuth2ClientCall(OauthClientPost oauthClientPost, ApiCallback _callback)Build call for createOAuth2ClientApiResponse<Client>createOAuth2ClientWithHttpInfo(OauthClientPost oauthClientPost)Create a LaunchDarkly OAuth 2.0 client Create (register) a LaunchDarkly OAuth2 client.voiddeleteOAuthClient(java.lang.String clientId)Delete OAuth 2.0 client Delete an existing OAuth 2.0 client by unique client ID.okhttp3.CalldeleteOAuthClientAsync(java.lang.String clientId, ApiCallback<java.lang.Void> _callback)Delete OAuth 2.0 client (asynchronously) Delete an existing OAuth 2.0 client by unique client ID.okhttp3.CalldeleteOAuthClientCall(java.lang.String clientId, ApiCallback _callback)Build call for deleteOAuthClientApiResponse<java.lang.Void>deleteOAuthClientWithHttpInfo(java.lang.String clientId)Delete OAuth 2.0 client Delete an existing OAuth 2.0 client by unique client ID.ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()ClientgetOAuthClientById(java.lang.String clientId)Get client by ID Get a registered OAuth 2.0 client by unique client ID.okhttp3.CallgetOAuthClientByIdAsync(java.lang.String clientId, ApiCallback<Client> _callback)Get client by ID (asynchronously) Get a registered OAuth 2.0 client by unique client ID.okhttp3.CallgetOAuthClientByIdCall(java.lang.String clientId, ApiCallback _callback)Build call for getOAuthClientByIdApiResponse<Client>getOAuthClientByIdWithHttpInfo(java.lang.String clientId)Get client by ID Get a registered OAuth 2.0 client by unique client ID.ClientCollectiongetOAuthClients()Get clients Get all OAuth 2.0 clients registered by your account.okhttp3.CallgetOAuthClientsAsync(ApiCallback<ClientCollection> _callback)Get clients (asynchronously) Get all OAuth 2.0 clients registered by your account.okhttp3.CallgetOAuthClientsCall(ApiCallback _callback)Build call for getOAuthClientsApiResponse<ClientCollection>getOAuthClientsWithHttpInfo()Get clients Get all OAuth 2.0 clients registered by your account.ClientpatchOAuthClient(java.lang.String clientId, java.util.List<PatchOperation> patchOperation)Patch client by ID Patch an existing OAuth 2.0 client by client ID.okhttp3.CallpatchOAuthClientAsync(java.lang.String clientId, java.util.List<PatchOperation> patchOperation, ApiCallback<Client> _callback)Patch client by ID (asynchronously) Patch an existing OAuth 2.0 client by client ID.okhttp3.CallpatchOAuthClientCall(java.lang.String clientId, java.util.List<PatchOperation> patchOperation, ApiCallback _callback)Build call for patchOAuthClientApiResponse<Client>patchOAuthClientWithHttpInfo(java.lang.String clientId, java.util.List<PatchOperation> patchOperation)Patch client by ID Patch an existing OAuth 2.0 client by client ID.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
OAuth2ClientsApi
public OAuth2ClientsApi()
-
OAuth2ClientsApi
public OAuth2ClientsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
createOAuth2ClientCall
public okhttp3.Call createOAuth2ClientCall(OauthClientPost oauthClientPost, ApiCallback _callback) throws ApiException
Build call for createOAuth2Client- Parameters:
oauthClientPost- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createOAuth2Client
public Client createOAuth2Client(OauthClientPost oauthClientPost) throws ApiException
Create a LaunchDarkly OAuth 2.0 client Create (register) a LaunchDarkly OAuth2 client. OAuth2 clients allow you to build custom integrations using LaunchDarkly as your identity provider.- Parameters:
oauthClientPost- (required)- Returns:
- Client
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createOAuth2ClientWithHttpInfo
public ApiResponse<Client> createOAuth2ClientWithHttpInfo(OauthClientPost oauthClientPost) throws ApiException
Create a LaunchDarkly OAuth 2.0 client Create (register) a LaunchDarkly OAuth2 client. OAuth2 clients allow you to build custom integrations using LaunchDarkly as your identity provider.- Parameters:
oauthClientPost- (required)- Returns:
- ApiResponse<Client>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createOAuth2ClientAsync
public okhttp3.Call createOAuth2ClientAsync(OauthClientPost oauthClientPost, ApiCallback<Client> _callback) throws ApiException
Create a LaunchDarkly OAuth 2.0 client (asynchronously) Create (register) a LaunchDarkly OAuth2 client. OAuth2 clients allow you to build custom integrations using LaunchDarkly as your identity provider.- Parameters:
oauthClientPost- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
deleteOAuthClientCall
public okhttp3.Call deleteOAuthClientCall(java.lang.String clientId, ApiCallback _callback) throws ApiExceptionBuild call for deleteOAuthClient- Parameters:
clientId- The client ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteOAuthClient
public void deleteOAuthClient(java.lang.String clientId) throws ApiExceptionDelete OAuth 2.0 client Delete an existing OAuth 2.0 client by unique client ID.- Parameters:
clientId- The client ID (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteOAuthClientWithHttpInfo
public ApiResponse<java.lang.Void> deleteOAuthClientWithHttpInfo(java.lang.String clientId) throws ApiException
Delete OAuth 2.0 client Delete an existing OAuth 2.0 client by unique client ID.- Parameters:
clientId- The client ID (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteOAuthClientAsync
public okhttp3.Call deleteOAuthClientAsync(java.lang.String clientId, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete OAuth 2.0 client (asynchronously) Delete an existing OAuth 2.0 client by unique client ID.- Parameters:
clientId- The client ID (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getOAuthClientByIdCall
public okhttp3.Call getOAuthClientByIdCall(java.lang.String clientId, ApiCallback _callback) throws ApiExceptionBuild call for getOAuthClientById- Parameters:
clientId- The client ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getOAuthClientById
public Client getOAuthClientById(java.lang.String clientId) throws ApiException
Get client by ID Get a registered OAuth 2.0 client by unique client ID.- Parameters:
clientId- The client ID (required)- Returns:
- Client
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getOAuthClientByIdWithHttpInfo
public ApiResponse<Client> getOAuthClientByIdWithHttpInfo(java.lang.String clientId) throws ApiException
Get client by ID Get a registered OAuth 2.0 client by unique client ID.- Parameters:
clientId- The client ID (required)- Returns:
- ApiResponse<Client>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getOAuthClientByIdAsync
public okhttp3.Call getOAuthClientByIdAsync(java.lang.String clientId, ApiCallback<Client> _callback) throws ApiExceptionGet client by ID (asynchronously) Get a registered OAuth 2.0 client by unique client ID.- Parameters:
clientId- The client ID (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getOAuthClientsCall
public okhttp3.Call getOAuthClientsCall(ApiCallback _callback) throws ApiException
Build call for getOAuthClients- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getOAuthClients
public ClientCollection getOAuthClients() throws ApiException
Get clients Get all OAuth 2.0 clients registered by your account.- Returns:
- ClientCollection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getOAuthClientsWithHttpInfo
public ApiResponse<ClientCollection> getOAuthClientsWithHttpInfo() throws ApiException
Get clients Get all OAuth 2.0 clients registered by your account.- Returns:
- ApiResponse<ClientCollection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getOAuthClientsAsync
public okhttp3.Call getOAuthClientsAsync(ApiCallback<ClientCollection> _callback) throws ApiException
Get clients (asynchronously) Get all OAuth 2.0 clients registered by your account.- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
patchOAuthClientCall
public okhttp3.Call patchOAuthClientCall(java.lang.String clientId, java.util.List<PatchOperation> patchOperation, ApiCallback _callback) throws ApiExceptionBuild call for patchOAuthClient- Parameters:
clientId- The client ID (required)patchOperation- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
patchOAuthClient
public Client patchOAuthClient(java.lang.String clientId, java.util.List<PatchOperation> patchOperation) throws ApiException
Patch client by ID Patch an existing OAuth 2.0 client by client ID. Updating an OAuth2 client uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates). Only `name`, `description`, and `redirectUri` may be patched.- Parameters:
clientId- The client ID (required)patchOperation- (required)- Returns:
- Client
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchOAuthClientWithHttpInfo
public ApiResponse<Client> patchOAuthClientWithHttpInfo(java.lang.String clientId, java.util.List<PatchOperation> patchOperation) throws ApiException
Patch client by ID Patch an existing OAuth 2.0 client by client ID. Updating an OAuth2 client uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates). Only `name`, `description`, and `redirectUri` may be patched.- Parameters:
clientId- The client ID (required)patchOperation- (required)- Returns:
- ApiResponse<Client>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
patchOAuthClientAsync
public okhttp3.Call patchOAuthClientAsync(java.lang.String clientId, java.util.List<PatchOperation> patchOperation, ApiCallback<Client> _callback) throws ApiExceptionPatch client by ID (asynchronously) Patch an existing OAuth 2.0 client by client ID. Updating an OAuth2 client uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates). Only `name`, `description`, and `redirectUri` may be patched.- Parameters:
clientId- The client ID (required)patchOperation- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-