Skip to content

Latest commit

History

History
32 lines (23 loc) · 1.47 KB

File metadata and controls

32 lines (23 loc) · 1.47 KB

VerifyCodeRequest

Properties

NameTypeDescriptionNotes
tostrThe phone number to send the mfa code to.
scopestrAn optional field to denote what scope or action the mfa code is addressing. If not supplied, defaults to "2FA".[optional]
expiration_time_in_minutesfloatThe time period, in minutes, to validate the mfa code. By setting this to 3 minutes, it will mean any code generated within the last 3 minutes are still valid. The valid range for expiration time is between 0 and 15 minutes, exclusively and inclusively, respectively.
codestrThe generated mfa code to check if valid.

Example

frombandwidth.models.verify_code_requestimportVerifyCodeRequest# TODO update the JSON string belowjson="{}"# create an instance of VerifyCodeRequest from a JSON stringverify_code_request_instance=VerifyCodeRequest.from_json(json)
# print the JSON string representation of the objectprint(VerifyCodeRequest.to_json())
# convert the object into a dictverify_code_request_dict=verify_code_request_instance.to_dict()
# create an instance of VerifyCodeRequest from a dictverify_code_request_from_dict=VerifyCodeRequest.from_dict(verify_code_request_dict)

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