Package com.w3asel.inventree.api
Class AuthenticationAccountApi
java.lang.Object
com.w3asel.inventree.api.AuthenticationAccountApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallauthAuthEmailVerifyGet(String xEmailVerificationKey) Get email verification information Obtain email verification information, given the token that was sent to the user by email.okhttp3.CallallauthAuthEmailVerifyGetAsync(String xEmailVerificationKey, ApiCallback<AllauthEmailVerificationInfo> _callback) Get email verification information (asynchronously) Obtain email verification information, given the token that was sent to the user by email.okhttp3.CallallauthAuthEmailVerifyGetCall(String xEmailVerificationKey, ApiCallback _callback) Build call for allauthAuthEmailVerifyGetallauthAuthEmailVerifyGetWithHttpInfo(String xEmailVerificationKey) Get email verification information Obtain email verification information, given the token that was sent to the user by email.allauthAuthEmailVerifyPost(AllauthVerifyEmail allauthVerifyEmail) Verify an email Complete the email verification process.okhttp3.CallallauthAuthEmailVerifyPostAsync(AllauthVerifyEmail allauthVerifyEmail, ApiCallback<AllauthAuthenticatedResponse> _callback) Verify an email (asynchronously) Complete the email verification process.okhttp3.CallallauthAuthEmailVerifyPostCall(AllauthVerifyEmail allauthVerifyEmail, ApiCallback _callback) Build call for allauthAuthEmailVerifyPostallauthAuthEmailVerifyPostWithHttpInfo(AllauthVerifyEmail allauthVerifyEmail) Verify an email Complete the email verification process.Resend email verification code Requests a new email verification code.okhttp3.CallallauthAuthEmailVerifyResendPostAsync(ApiCallback<AllauthAuthEmailVerifyResendPost200Response> _callback) Resend email verification code (asynchronously) Requests a new email verification code.okhttp3.CallallauthAuthEmailVerifyResendPostCall(ApiCallback _callback) Build call for allauthAuthEmailVerifyResendPostResend email verification code Requests a new email verification code.allauthAuthLoginPost(AllauthLogin allauthLogin) Login Login using a username-password or email-password combination.okhttp3.CallallauthAuthLoginPostAsync(AllauthLogin allauthLogin, ApiCallback<AllauthAuthenticatedResponse> _callback) Login (asynchronously) Login using a username-password or email-password combination.okhttp3.CallallauthAuthLoginPostCall(AllauthLogin allauthLogin, ApiCallback _callback) Build call for allauthAuthLoginPostallauthAuthLoginPostWithHttpInfo(AllauthLogin allauthLogin) Login Login using a username-password or email-password combination.allauthAuthPhoneVerifyPost(AllauthVerifyPhone allauthVerifyPhone) Verify a phone number Complete the phone number verification process.okhttp3.CallallauthAuthPhoneVerifyPostAsync(AllauthVerifyPhone allauthVerifyPhone, ApiCallback<AllauthAuthenticatedResponse> _callback) Verify a phone number (asynchronously) Complete the phone number verification process.okhttp3.CallallauthAuthPhoneVerifyPostCall(AllauthVerifyPhone allauthVerifyPhone, ApiCallback _callback) Build call for allauthAuthPhoneVerifyPostallauthAuthPhoneVerifyPostWithHttpInfo(AllauthVerifyPhone allauthVerifyPhone) Verify a phone number Complete the phone number verification process.Resend phone number verification code Requests a new phone number verification code.okhttp3.CallallauthAuthPhoneVerifyResendPostAsync(ApiCallback<AllauthAuthEmailVerifyResendPost200Response> _callback) Resend phone number verification code (asynchronously) Requests a new phone number verification code.okhttp3.CallallauthAuthPhoneVerifyResendPostCall(ApiCallback _callback) Build call for allauthAuthPhoneVerifyResendPostResend phone number verification code Requests a new phone number verification code.allauthAuthReauthenticatePost(AllauthReauthenticate allauthReauthenticate) Reauthenticate In order to safeguard the account, some actions require the user to be recently authenticated.okhttp3.CallallauthAuthReauthenticatePostAsync(AllauthReauthenticate allauthReauthenticate, ApiCallback<AllauthAuthenticatedResponse> _callback) Reauthenticate (asynchronously) In order to safeguard the account, some actions require the user to be recently authenticated.okhttp3.CallallauthAuthReauthenticatePostCall(AllauthReauthenticate allauthReauthenticate, ApiCallback _callback) Build call for allauthAuthReauthenticatePostallauthAuthReauthenticatePostWithHttpInfo(AllauthReauthenticate allauthReauthenticate) Reauthenticate In order to safeguard the account, some actions require the user to be recently authenticated.allauthAuthSignupPost(AllauthSignup allauthSignup) Signup Whether or not `username`, `email`, `phone` or combination of those are required depends on the configuration of django-allauth.okhttp3.CallallauthAuthSignupPostAsync(AllauthSignup allauthSignup, ApiCallback<AllauthAuthenticatedResponse> _callback) Signup (asynchronously) Whether or not `username`, `email`, `phone` or combination of those are required depends on the configuration of django-allauth.okhttp3.CallallauthAuthSignupPostCall(AllauthSignup allauthSignup, ApiCallback _callback) Build call for allauthAuthSignupPostallauthAuthSignupPostWithHttpInfo(AllauthSignup allauthSignup) Signup Whether or not `username`, `email`, `phone` or combination of those are required depends on the configuration of django-allauth.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
AuthenticationAccountApi
public AuthenticationAccountApi() -
AuthenticationAccountApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
allauthAuthEmailVerifyGetCall
public okhttp3.Call allauthAuthEmailVerifyGetCall(@Nonnull String xEmailVerificationKey, ApiCallback _callback) throws ApiException Build call for allauthAuthEmailVerifyGet- Parameters:
xEmailVerificationKey- The email verification key (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 Email verification information. - 400 An input error occurred. - 409 Conflict. The email verification (by code) flow is not pending. -
-
allauthAuthEmailVerifyGet
public AllauthEmailVerificationInfo allauthAuthEmailVerifyGet(@Nonnull String xEmailVerificationKey) throws ApiException Get email verification information Obtain email verification information, given the token that was sent to the user by email.- Parameters:
xEmailVerificationKey- The email verification key (required)- Returns:
- AllauthEmailVerificationInfo
- 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 Email verification information. - 400 An input error occurred. - 409 Conflict. The email verification (by code) flow is not pending. -
-
allauthAuthEmailVerifyGetWithHttpInfo
public ApiResponse<AllauthEmailVerificationInfo> allauthAuthEmailVerifyGetWithHttpInfo(@Nonnull String xEmailVerificationKey) throws ApiException Get email verification information Obtain email verification information, given the token that was sent to the user by email.- Parameters:
xEmailVerificationKey- The email verification key (required)- Returns:
- ApiResponse<AllauthEmailVerificationInfo>
- 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 Email verification information. - 400 An input error occurred. - 409 Conflict. The email verification (by code) flow is not pending. -
-
allauthAuthEmailVerifyGetAsync
public okhttp3.Call allauthAuthEmailVerifyGetAsync(@Nonnull String xEmailVerificationKey, ApiCallback<AllauthEmailVerificationInfo> _callback) throws ApiException Get email verification information (asynchronously) Obtain email verification information, given the token that was sent to the user by email.- Parameters:
xEmailVerificationKey- The email verification key (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 Email verification information. - 400 An input error occurred. - 409 Conflict. The email verification (by code) flow is not pending. -
-
allauthAuthEmailVerifyPostCall
public okhttp3.Call allauthAuthEmailVerifyPostCall(@Nullable AllauthVerifyEmail allauthVerifyEmail, ApiCallback _callback) throws ApiException Build call for allauthAuthEmailVerifyPost- Parameters:
allauthVerifyEmail- (optional)_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 The user is authenticated. - 400 An input error occurred. - 401 There is no authenticated session. - 409 Conflict. The email verification (by code) flow is not pending. -
-
allauthAuthEmailVerifyPost
public AllauthAuthenticatedResponse allauthAuthEmailVerifyPost(@Nullable AllauthVerifyEmail allauthVerifyEmail) throws ApiException Verify an email Complete the email verification process. Depending on the configuration, email addresses are either verified by opening a link that is sent to their email address, or, by inputting a code that is sent. On the API, both cases are handled identically. Meaning, the required key is either the one from the link, or, the code itself. Note that a status code of 401 does not imply failure. It indicates that the email verification was successful, yet, the user is still not signed in. For example, in case `ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION` is set to `False`, a 401 is returned when verifying as part of login/signup.- Parameters:
allauthVerifyEmail- (optional)- 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 The user is authenticated. - 400 An input error occurred. - 401 There is no authenticated session. - 409 Conflict. The email verification (by code) flow is not pending. -
-
allauthAuthEmailVerifyPostWithHttpInfo
public ApiResponse<AllauthAuthenticatedResponse> allauthAuthEmailVerifyPostWithHttpInfo(@Nullable AllauthVerifyEmail allauthVerifyEmail) throws ApiException Verify an email Complete the email verification process. Depending on the configuration, email addresses are either verified by opening a link that is sent to their email address, or, by inputting a code that is sent. On the API, both cases are handled identically. Meaning, the required key is either the one from the link, or, the code itself. Note that a status code of 401 does not imply failure. It indicates that the email verification was successful, yet, the user is still not signed in. For example, in case `ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION` is set to `False`, a 401 is returned when verifying as part of login/signup.- Parameters:
allauthVerifyEmail- (optional)- 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 The user is authenticated. - 400 An input error occurred. - 401 There is no authenticated session. - 409 Conflict. The email verification (by code) flow is not pending. -
-
allauthAuthEmailVerifyPostAsync
public okhttp3.Call allauthAuthEmailVerifyPostAsync(@Nullable AllauthVerifyEmail allauthVerifyEmail, ApiCallback<AllauthAuthenticatedResponse> _callback) throws ApiException Verify an email (asynchronously) Complete the email verification process. Depending on the configuration, email addresses are either verified by opening a link that is sent to their email address, or, by inputting a code that is sent. On the API, both cases are handled identically. Meaning, the required key is either the one from the link, or, the code itself. Note that a status code of 401 does not imply failure. It indicates that the email verification was successful, yet, the user is still not signed in. For example, in case `ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION` is set to `False`, a 401 is returned when verifying as part of login/signup.- Parameters:
allauthVerifyEmail- (optional)_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 The user is authenticated. - 400 An input error occurred. - 401 There is no authenticated session. - 409 Conflict. The email verification (by code) flow is not pending. -
-
allauthAuthEmailVerifyResendPostCall
Build call for allauthAuthEmailVerifyResendPost- Parameters:
_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 A success response. - 409 Conflict. The email verification (by code) flow is not pending. - 429 Too many requests. -
-
allauthAuthEmailVerifyResendPost
public AllauthAuthEmailVerifyResendPost200Response allauthAuthEmailVerifyResendPost() throws ApiExceptionResend email verification code Requests a new email verification code. Requires `ACCOUNT_EMAIL_VERIFICATION_SUPPORTS_RESEND = True`.- Returns:
- AllauthAuthEmailVerifyResendPost200Response
- 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 A success response. - 409 Conflict. The email verification (by code) flow is not pending. - 429 Too many requests. -
-
allauthAuthEmailVerifyResendPostWithHttpInfo
public ApiResponse<AllauthAuthEmailVerifyResendPost200Response> allauthAuthEmailVerifyResendPostWithHttpInfo() throws ApiExceptionResend email verification code Requests a new email verification code. Requires `ACCOUNT_EMAIL_VERIFICATION_SUPPORTS_RESEND = True`.- Returns:
- ApiResponse<AllauthAuthEmailVerifyResendPost200Response>
- 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 A success response. - 409 Conflict. The email verification (by code) flow is not pending. - 429 Too many requests. -
-
allauthAuthEmailVerifyResendPostAsync
public okhttp3.Call allauthAuthEmailVerifyResendPostAsync(ApiCallback<AllauthAuthEmailVerifyResendPost200Response> _callback) throws ApiException Resend email verification code (asynchronously) Requests a new email verification code. Requires `ACCOUNT_EMAIL_VERIFICATION_SUPPORTS_RESEND = True`.- 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- HTTP Response Details:
Response Details Status Code Description Response Headers 200 A success response. - 409 Conflict. The email verification (by code) flow is not pending. - 429 Too many requests. -
-
allauthAuthLoginPostCall
public okhttp3.Call allauthAuthLoginPostCall(@Nonnull AllauthLogin allauthLogin, ApiCallback _callback) throws ApiException Build call for allauthAuthLoginPost- Parameters:
allauthLogin- Login. (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 password. - 400 An input error occurred. - 401 Not authenticated. - 409 Conflict. For example, when logging in when a user is already logged in. -
-
allauthAuthLoginPost
public AllauthAuthenticatedResponse allauthAuthLoginPost(@Nonnull AllauthLogin allauthLogin) throws ApiException Login Login using a username-password or email-password combination.- Parameters:
allauthLogin- Login. (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 password. - 400 An input error occurred. - 401 Not authenticated. - 409 Conflict. For example, when logging in when a user is already logged in. -
-
allauthAuthLoginPostWithHttpInfo
public ApiResponse<AllauthAuthenticatedResponse> allauthAuthLoginPostWithHttpInfo(@Nonnull AllauthLogin allauthLogin) throws ApiException Login Login using a username-password or email-password combination.- Parameters:
allauthLogin- Login. (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 password. - 400 An input error occurred. - 401 Not authenticated. - 409 Conflict. For example, when logging in when a user is already logged in. -
-
allauthAuthLoginPostAsync
public okhttp3.Call allauthAuthLoginPostAsync(@Nonnull AllauthLogin allauthLogin, ApiCallback<AllauthAuthenticatedResponse> _callback) throws ApiException Login (asynchronously) Login using a username-password or email-password combination.- Parameters:
allauthLogin- Login. (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 password. - 400 An input error occurred. - 401 Not authenticated. - 409 Conflict. For example, when logging in when a user is already logged in. -
-
allauthAuthPhoneVerifyPostCall
public okhttp3.Call allauthAuthPhoneVerifyPostCall(@Nullable AllauthVerifyPhone allauthVerifyPhone, ApiCallback _callback) throws ApiException Build call for allauthAuthPhoneVerifyPost- Parameters:
allauthVerifyPhone- (optional)_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 The user is authenticated. - 400 An input error occurred. - 401 There is no authenticated session. - 409 Conflict. The phone verification flow is not pending. -
-
allauthAuthPhoneVerifyPost
public AllauthAuthenticatedResponse allauthAuthPhoneVerifyPost(@Nullable AllauthVerifyPhone allauthVerifyPhone) throws ApiException Verify a phone number Complete the phone number verification process. Note that a status code of 401 does not imply failure. It merely indicates that the phone number verification was successful, yet, the user is still not signed in.- Parameters:
allauthVerifyPhone- (optional)- 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 The user is authenticated. - 400 An input error occurred. - 401 There is no authenticated session. - 409 Conflict. The phone verification flow is not pending. -
-
allauthAuthPhoneVerifyPostWithHttpInfo
public ApiResponse<AllauthAuthenticatedResponse> allauthAuthPhoneVerifyPostWithHttpInfo(@Nullable AllauthVerifyPhone allauthVerifyPhone) throws ApiException Verify a phone number Complete the phone number verification process. Note that a status code of 401 does not imply failure. It merely indicates that the phone number verification was successful, yet, the user is still not signed in.- Parameters:
allauthVerifyPhone- (optional)- 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 The user is authenticated. - 400 An input error occurred. - 401 There is no authenticated session. - 409 Conflict. The phone verification flow is not pending. -
-
allauthAuthPhoneVerifyPostAsync
public okhttp3.Call allauthAuthPhoneVerifyPostAsync(@Nullable AllauthVerifyPhone allauthVerifyPhone, ApiCallback<AllauthAuthenticatedResponse> _callback) throws ApiException Verify a phone number (asynchronously) Complete the phone number verification process. Note that a status code of 401 does not imply failure. It merely indicates that the phone number verification was successful, yet, the user is still not signed in.- Parameters:
allauthVerifyPhone- (optional)_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 The user is authenticated. - 400 An input error occurred. - 401 There is no authenticated session. - 409 Conflict. The phone verification flow is not pending. -
-
allauthAuthPhoneVerifyResendPostCall
Build call for allauthAuthPhoneVerifyResendPost- Parameters:
_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 A success response. - 409 Conflict. The phone verification flow is not pending. - 429 Too many requests. -
-
allauthAuthPhoneVerifyResendPost
public AllauthAuthEmailVerifyResendPost200Response allauthAuthPhoneVerifyResendPost() throws ApiExceptionResend phone number verification code Requests a new phone number verification code. Requires `ACCOUNT_PHONE_VERIFICATION_SUPPORTS_RESEND = True`.- Returns:
- AllauthAuthEmailVerifyResendPost200Response
- 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 A success response. - 409 Conflict. The phone verification flow is not pending. - 429 Too many requests. -
-
allauthAuthPhoneVerifyResendPostWithHttpInfo
public ApiResponse<AllauthAuthEmailVerifyResendPost200Response> allauthAuthPhoneVerifyResendPostWithHttpInfo() throws ApiExceptionResend phone number verification code Requests a new phone number verification code. Requires `ACCOUNT_PHONE_VERIFICATION_SUPPORTS_RESEND = True`.- Returns:
- ApiResponse<AllauthAuthEmailVerifyResendPost200Response>
- 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 A success response. - 409 Conflict. The phone verification flow is not pending. - 429 Too many requests. -
-
allauthAuthPhoneVerifyResendPostAsync
public okhttp3.Call allauthAuthPhoneVerifyResendPostAsync(ApiCallback<AllauthAuthEmailVerifyResendPost200Response> _callback) throws ApiException Resend phone number verification code (asynchronously) Requests a new phone number verification code. Requires `ACCOUNT_PHONE_VERIFICATION_SUPPORTS_RESEND = True`.- 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- HTTP Response Details:
Response Details Status Code Description Response Headers 200 A success response. - 409 Conflict. The phone verification flow is not pending. - 429 Too many requests. -
-
allauthAuthReauthenticatePostCall
public okhttp3.Call allauthAuthReauthenticatePostCall(@Nonnull AllauthReauthenticate allauthReauthenticate, ApiCallback _callback) throws ApiException Build call for allauthAuthReauthenticatePost- Parameters:
allauthReauthenticate- Reauthenticate. (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 password. - 400 An input error occurred. -
-
allauthAuthReauthenticatePost
public AllauthAuthenticatedResponse allauthAuthReauthenticatePost(@Nonnull AllauthReauthenticate allauthReauthenticate) throws ApiException Reauthenticate In order to safeguard the account, some actions require the user to be recently authenticated. If you try to perform such an action without having been recently authenticated, a `401` status is returned, listing flows that can be performed to reauthenticate. One such flow is the flow with ID `reauthenticate`, which allows for the user to input the password. This is the endpoint related towards that flow.- Parameters:
allauthReauthenticate- Reauthenticate. (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 password. - 400 An input error occurred. -
-
allauthAuthReauthenticatePostWithHttpInfo
public ApiResponse<AllauthAuthenticatedResponse> allauthAuthReauthenticatePostWithHttpInfo(@Nonnull AllauthReauthenticate allauthReauthenticate) throws ApiException Reauthenticate In order to safeguard the account, some actions require the user to be recently authenticated. If you try to perform such an action without having been recently authenticated, a `401` status is returned, listing flows that can be performed to reauthenticate. One such flow is the flow with ID `reauthenticate`, which allows for the user to input the password. This is the endpoint related towards that flow.- Parameters:
allauthReauthenticate- Reauthenticate. (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 password. - 400 An input error occurred. -
-
allauthAuthReauthenticatePostAsync
public okhttp3.Call allauthAuthReauthenticatePostAsync(@Nonnull AllauthReauthenticate allauthReauthenticate, ApiCallback<AllauthAuthenticatedResponse> _callback) throws ApiException Reauthenticate (asynchronously) In order to safeguard the account, some actions require the user to be recently authenticated. If you try to perform such an action without having been recently authenticated, a `401` status is returned, listing flows that can be performed to reauthenticate. One such flow is the flow with ID `reauthenticate`, which allows for the user to input the password. This is the endpoint related towards that flow.- Parameters:
allauthReauthenticate- Reauthenticate. (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 password. - 400 An input error occurred. -
-
allauthAuthSignupPostCall
public okhttp3.Call allauthAuthSignupPostCall(@Nonnull AllauthSignup allauthSignup, ApiCallback _callback) throws ApiException Build call for allauthAuthSignupPost- Parameters:
allauthSignup- Signup (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 password. - 400 An input error occurred. - 401 Not authenticated. - 403 Forbidden. For example, when signup is closed. - 409 Conflict. For example, when signing up while user is logged in. -
-
allauthAuthSignupPost
public AllauthAuthenticatedResponse allauthAuthSignupPost(@Nonnull AllauthSignup allauthSignup) throws ApiException Signup Whether or not `username`, `email`, `phone` or combination of those are required depends on the configuration of django-allauth. Additionally, if a custom signup form is used there may be other custom properties required.- Parameters:
allauthSignup- Signup (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 password. - 400 An input error occurred. - 401 Not authenticated. - 403 Forbidden. For example, when signup is closed. - 409 Conflict. For example, when signing up while user is logged in. -
-
allauthAuthSignupPostWithHttpInfo
public ApiResponse<AllauthAuthenticatedResponse> allauthAuthSignupPostWithHttpInfo(@Nonnull AllauthSignup allauthSignup) throws ApiException Signup Whether or not `username`, `email`, `phone` or combination of those are required depends on the configuration of django-allauth. Additionally, if a custom signup form is used there may be other custom properties required.- Parameters:
allauthSignup- Signup (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 password. - 400 An input error occurred. - 401 Not authenticated. - 403 Forbidden. For example, when signup is closed. - 409 Conflict. For example, when signing up while user is logged in. -
-
allauthAuthSignupPostAsync
public okhttp3.Call allauthAuthSignupPostAsync(@Nonnull AllauthSignup allauthSignup, ApiCallback<AllauthAuthenticatedResponse> _callback) throws ApiException Signup (asynchronously) Whether or not `username`, `email`, `phone` or combination of those are required depends on the configuration of django-allauth. Additionally, if a custom signup form is used there may be other custom properties required.- Parameters:
allauthSignup- Signup (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 password. - 400 An input error occurred. - 401 Not authenticated. - 403 Forbidden. For example, when signup is closed. - 409 Conflict. For example, when signing up while user is logged in. -
-