Package com.seeq.api
Class AuthApi
java.lang.Object
com.seeq.api.AuthApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a collection of authentication providersgetAuthProvidersWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Get a collection of authentication providersGet a collection of authentication providersvoid
getCsrf()
Get a valid CSRF token for this authentication sessionvoid
getCsrfWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Get a valid CSRF token for this authentication sessionvoid
Get a valid CSRF token for this authentication sessionlong
login
(AuthInputV1 body) LoginloginWithHeadersAndHttpInfo
(AuthInputV1 body, Map<String, String> customHeaders) LoginloginWithHttpInfo
(AuthInputV1 body) Loginvoid
logout()
Invalidate the session to be completely unusablevoid
logoutWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Invalidate the session to be completely unusablevoid
Invalidate the session to be completely unusablevoid
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout) void
validate()
Check that the authentication and CSRF tokens present in the request are validvoid
validateWithHeadersAndHttpInfo
(Map<String, String> customHeaders) Check that the authentication and CSRF tokens present in the request are validvoid
Check that the authentication and CSRF tokens present in the request are valid
-
Constructor Details
-
AuthApi
public AuthApi() -
AuthApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
getAuthProviders
Get a collection of authentication providers- Returns:
- AuthProvidersOutputV1
- Throws:
ApiException
- if fails to make API call
-
getAuthProvidersWithHttpInfo
public ApiClient.ApiResponse<AuthProvidersOutputV1> getAuthProvidersWithHttpInfo() throws ApiExceptionGet a collection of authentication providers- Throws:
ApiException
- if fails to make API call
-
getAuthProvidersWithHeadersAndHttpInfo
public ApiClient.ApiResponse<AuthProvidersOutputV1> getAuthProvidersWithHeadersAndHttpInfo(Map<String, String> customHeaders) throws ApiExceptionGet a collection of authentication providers- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
getCsrf
Get a valid CSRF token for this authentication session- Throws:
ApiException
- if fails to make API call
-
getCsrfWithHttpInfo
Get a valid CSRF token for this authentication session- Throws:
ApiException
- if fails to make API call
-
getCsrfWithHeadersAndHttpInfo
Get a valid CSRF token for this authentication session- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
login
Login- Parameters:
body
- Login information (required)- Returns:
- UserOutputV1
- Throws:
ApiException
- if fails to make API call
-
loginWithHttpInfo
Login- Parameters:
body
- Login information (required)- Throws:
ApiException
- if fails to make API call
-
loginWithHeadersAndHttpInfo
public ApiClient.ApiResponse<UserOutputV1> loginWithHeadersAndHttpInfo(AuthInputV1 body, Map<String, String> customHeaders) throws ApiExceptionLogin- Parameters:
body
- Login information (required)customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
logout
Invalidate the session to be completely unusable- Throws:
ApiException
- if fails to make API call
-
logoutWithHttpInfo
Invalidate the session to be completely unusable- Throws:
ApiException
- if fails to make API call
-
logoutWithHeadersAndHttpInfo
Invalidate the session to be completely unusable- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-
validate
Check that the authentication and CSRF tokens present in the request are valid- Throws:
ApiException
- if fails to make API call
-
validateWithHttpInfo
Check that the authentication and CSRF tokens present in the request are valid- Throws:
ApiException
- if fails to make API call
-
validateWithHeadersAndHttpInfo
Check that the authentication and CSRF tokens present in the request are valid- Parameters:
customHeaders
- a map with custom headers for the HTTP request (required)- Throws:
ApiException
- if fails to make API call
-