Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 2.19 KB

File metadata and controls

41 lines (33 loc) · 2.19 KB

AuthWithCodeRequestsDto

The parameters required for the user two-factor authentication requests.

Properties

Name Type Description Notes
user_name str The username or email used for authentication. [optional]
password str The password in plain text for user authentication. [optional]
password_hash str The hashed password for secure verification. [optional]
provider str The type of authentication provider (e.g., internal, Google, Azure). [optional]
access_token str The access token used for authentication with external providers. [optional]
serialized_profile str The serialized user profile data, if applicable. [optional]
code_o_auth str The authorization code used for obtaining OAuth tokens. [optional]
session bool Specifies whether the authentication is session-based. [optional]
confirm_data ConfirmData [optional]
recaptcha_type RecaptchaType [optional]
recaptcha_response str The user's response to the CAPTCHA challenge. [optional]
culture str The culture code for localization during authentication. [optional]
code str The code for two-factor authentication. [optional]

Example

from docspace_api_sdk.models.auth_with_code_requests_dto import AuthWithCodeRequestsDto

# TODO update the JSON string below
json = "{}"
# create an instance of AuthWithCodeRequestsDto from a JSON string
auth_with_code_requests_dto_instance = AuthWithCodeRequestsDto.from_json(json)
# print the JSON string representation of the object
print(AuthWithCodeRequestsDto.to_json())

# convert the object into a dict
auth_with_code_requests_dto_dict = auth_with_code_requests_dto_instance.to_dict()
# create an instance of AuthWithCodeRequestsDto from a dict
auth_with_code_requests_dto_from_dict = AuthWithCodeRequestsDto.from_dict(auth_with_code_requests_dto_dict)

[Back to Model list] [Back to API list] [Back to README]