Class AuthenticationLoginByCodeApi

java.lang.Object
com.w3asel.inventree.api.AuthenticationLoginByCodeApi

public class AuthenticationLoginByCodeApi extends Object
  • Constructor Details

    • AuthenticationLoginByCodeApi

      public AuthenticationLoginByCodeApi()
    • AuthenticationLoginByCodeApi

      public AuthenticationLoginByCodeApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • allauthAuthCodeConfirmPostCall

      public okhttp3.Call allauthAuthCodeConfirmPostCall(@Nonnull AllauthConfirmLoginCode allauthConfirmLoginCode, ApiCallback _callback) throws ApiException
      Build call for allauthAuthCodeConfirmPost
      Parameters:
      allauthConfirmLoginCode - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      HTTP Response Details:
      Response Details
      Status Code Description Response Headers
      200 Authenticated by code. -
      400 An input error occurred. -
      401 Not authenticated. -
      409 Conflict. The \"login by code\" flow is not pending. -
    • allauthAuthCodeConfirmPost

      public AllauthAuthenticatedResponse allauthAuthCodeConfirmPost(@Nonnull AllauthConfirmLoginCode allauthConfirmLoginCode) throws ApiException
      Confirm login code Use this endpoint to pass along the received \"special\" login code.
      Parameters:
      allauthConfirmLoginCode - (required)
      Returns:
      AllauthAuthenticatedResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      HTTP Response Details:
      Response Details
      Status Code Description Response Headers
      200 Authenticated by code. -
      400 An input error occurred. -
      401 Not authenticated. -
      409 Conflict. The \"login by code\" flow is not pending. -
    • allauthAuthCodeConfirmPostWithHttpInfo

      public ApiResponse<AllauthAuthenticatedResponse> allauthAuthCodeConfirmPostWithHttpInfo(@Nonnull AllauthConfirmLoginCode allauthConfirmLoginCode) throws ApiException
      Confirm login code Use this endpoint to pass along the received \"special\" login code.
      Parameters:
      allauthConfirmLoginCode - (required)
      Returns:
      ApiResponse<AllauthAuthenticatedResponse>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      HTTP Response Details:
      Response Details
      Status Code Description Response Headers
      200 Authenticated by code. -
      400 An input error occurred. -
      401 Not authenticated. -
      409 Conflict. The \"login by code\" flow is not pending. -
    • allauthAuthCodeConfirmPostAsync

      public okhttp3.Call allauthAuthCodeConfirmPostAsync(@Nonnull AllauthConfirmLoginCode allauthConfirmLoginCode, ApiCallback<AllauthAuthenticatedResponse> _callback) throws ApiException
      Confirm login code (asynchronously) Use this endpoint to pass along the received \"special\" login code.
      Parameters:
      allauthConfirmLoginCode - (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
      HTTP Response Details:
      Response Details
      Status Code Description Response Headers
      200 Authenticated by code. -
      400 An input error occurred. -
      401 Not authenticated. -
      409 Conflict. The \"login by code\" flow is not pending. -
    • allauthAuthCodeRequestPostCall

      public okhttp3.Call allauthAuthCodeRequestPostCall(@Nonnull AllauthRequestLoginCode allauthRequestLoginCode, ApiCallback _callback) throws ApiException
      Build call for allauthAuthCodeRequestPost
      Parameters:
      allauthRequestLoginCode - Request a login code. (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      HTTP Response Details:
      Response Details
      Status Code Description Response Headers
      400 An input error occurred. -
      401 Not authenticated. -
    • allauthAuthCodeRequestPost

      public void allauthAuthCodeRequestPost(@Nonnull AllauthRequestLoginCode allauthRequestLoginCode) throws ApiException
      Request login code Request a \"special\" login code that is sent to the user by email.
      Parameters:
      allauthRequestLoginCode - Request a login code. (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      HTTP Response Details:
      Response Details
      Status Code Description Response Headers
      400 An input error occurred. -
      401 Not authenticated. -
    • allauthAuthCodeRequestPostWithHttpInfo

      public ApiResponse<Void> allauthAuthCodeRequestPostWithHttpInfo(@Nonnull AllauthRequestLoginCode allauthRequestLoginCode) throws ApiException
      Request login code Request a \"special\" login code that is sent to the user by email.
      Parameters:
      allauthRequestLoginCode - Request a login code. (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      HTTP Response Details:
      Response Details
      Status Code Description Response Headers
      400 An input error occurred. -
      401 Not authenticated. -
    • allauthAuthCodeRequestPostAsync

      public okhttp3.Call allauthAuthCodeRequestPostAsync(@Nonnull AllauthRequestLoginCode allauthRequestLoginCode, ApiCallback<Void> _callback) throws ApiException
      Request login code (asynchronously) Request a \"special\" login code that is sent to the user by email.
      Parameters:
      allauthRequestLoginCode - Request a login code. (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
      HTTP Response Details:
      Response Details
      Status Code Description Response Headers
      400 An input error occurred. -
      401 Not authenticated. -