Package com.seeq.api

Class AuthApi

java.lang.Object
com.seeq.api.AuthApi

public class AuthApi extends Object
  • Constructor Details

    • AuthApi

      public AuthApi()
    • AuthApi

      public AuthApi(ApiClient apiClient)
  • Method Details

    • setRetryTimeout

      public void setRetryTimeout(long retryTimeout)
    • getRetryTimeout

      public long getRetryTimeout()
    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAuthProviders

      public AuthProvidersOutputV1 getAuthProviders() throws ApiException
      Get a collection of authentication providers
      Returns:
      AuthProvidersOutputV1
      Throws:
      ApiException - if fails to make API call
    • getAuthProvidersWithHttpInfo

      public ApiClient.ApiResponse<AuthProvidersOutputV1> getAuthProvidersWithHttpInfo() throws ApiException
      Get a collection of authentication providers
      Throws:
      ApiException - if fails to make API call
    • getAuthProvidersWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<AuthProvidersOutputV1> getAuthProvidersWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      Get 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

      public void getCsrf() throws ApiException
      Get a valid CSRF token for this authentication session
      Throws:
      ApiException - if fails to make API call
    • getCsrfWithHttpInfo

      public void getCsrfWithHttpInfo() throws ApiException
      Get a valid CSRF token for this authentication session
      Throws:
      ApiException - if fails to make API call
    • getCsrfWithHeadersAndHttpInfo

      public void getCsrfWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      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

      public UserOutputV1 login(AuthInputV1 body) throws ApiException
      Login
      Parameters:
      body - Login information (required)
      Returns:
      UserOutputV1
      Throws:
      ApiException - if fails to make API call
    • loginWithHttpInfo

      public ApiClient.ApiResponse<UserOutputV1> loginWithHttpInfo(AuthInputV1 body) throws ApiException
      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 ApiException
      Login
      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

      public void logout() throws ApiException
      Invalidate the session to be completely unusable
      Throws:
      ApiException - if fails to make API call
    • logoutWithHttpInfo

      public void logoutWithHttpInfo() throws ApiException
      Invalidate the session to be completely unusable
      Throws:
      ApiException - if fails to make API call
    • logoutWithHeadersAndHttpInfo

      public void logoutWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      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

      public void validate() throws ApiException
      Check that the authentication and CSRF tokens present in the request are valid
      Throws:
      ApiException - if fails to make API call
    • validateWithHttpInfo

      public void validateWithHttpInfo() throws ApiException
      Check that the authentication and CSRF tokens present in the request are valid
      Throws:
      ApiException - if fails to make API call
    • validateWithHeadersAndHttpInfo

      public void validateWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      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