31 lines
1.2 KiB
Markdown
31 lines
1.2 KiB
Markdown
# ConfirmTwoFactorRequestRequest
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**request_token** | **str** | Token to identify the two factor request |
|
|
**otp_token** | **str** | OTP token generated by the app |
|
|
|
|
## Example
|
|
|
|
```python
|
|
from peertube.models.confirm_two_factor_request_request import ConfirmTwoFactorRequestRequest
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of ConfirmTwoFactorRequestRequest from a JSON string
|
|
confirm_two_factor_request_request_instance = ConfirmTwoFactorRequestRequest.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print ConfirmTwoFactorRequestRequest.to_json()
|
|
|
|
# convert the object into a dict
|
|
confirm_two_factor_request_request_dict = confirm_two_factor_request_request_instance.to_dict()
|
|
# create an instance of ConfirmTwoFactorRequestRequest from a dict
|
|
confirm_two_factor_request_request_form_dict = confirm_two_factor_request_request.from_dict(confirm_two_factor_request_request_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|