Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.27 KB

GenerateOTPRequest.md

File metadata and controls

29 lines (21 loc) · 1.27 KB

GenerateOTPRequest

Properties

Name Type Description Notes
expires_in int Set the duration of the token in seconds. Token expiration defaults to 259200 seconds = 72 hours. 72 hours is the max value. [optional]
reusable bool Defines if the token is reusable multiple times within the expiry window. Value defaults to false. If set to true, token can be used multiple times, until it expires. [optional] [default to False]

Example

from onelogin.models.generate_otp_request import GenerateOTPRequest

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

# convert the object into a dict
generate_otp_request_dict = generate_otp_request_instance.to_dict()
# create an instance of GenerateOTPRequest from a dict
generate_otp_request_form_dict = generate_otp_request.from_dict(generate_otp_request_dict)

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