Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.48 KB

TfaValidateRequestDto.md

File metadata and controls

30 lines (22 loc) · 1.48 KB

TfaValidateRequestDto

The one-time code that completes a pending two-factor step, and how long the resulting sign-in lasts.

Properties

Name Type Description Notes
code str The code to check - either one from the authenticator application or one of the account's unused backup codes, which is spent by the check. A wrong code is refused with 400 and counts against the portal login attempt limit.
session bool Whether the sign-in that follows is tied to the browser session. When it is, the session ends with the browser rather than lasting for the portal session lifetime. [optional]

Example

from docspace_api_sdk.models.tfa_validate_request_dto import TfaValidateRequestDto

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

# convert the object into a dict
tfa_validate_request_dto_dict = tfa_validate_request_dto_instance.to_dict()
# create an instance of TfaValidateRequestDto from a dict
tfa_validate_request_dto_from_dict = TfaValidateRequestDto.from_dict(tfa_validate_request_dto_dict)

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