github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/StsAuthRequest.md (about) 1 # StsAuthRequest 2 3 4 ## Properties 5 6 Name | Type | Description | Notes 7 ------------ | ------------- | ------------- | ------------- 8 **code** | **str** | | 9 **state** | **str** | | 10 **redirect_uri** | **str** | | 11 **ttl_seconds** | **int** | The time-to-live for the generated token in seconds. The default value is 3600 seconds (1 hour) maximum time allowed is 12 hours. | [optional] 12 13 ## Example 14 15 ```python 16 from lakefs_sdk.models.sts_auth_request import StsAuthRequest 17 18 # TODO update the JSON string below 19 json = "{}" 20 # create an instance of StsAuthRequest from a JSON string 21 sts_auth_request_instance = StsAuthRequest.from_json(json) 22 # print the JSON string representation of the object 23 print StsAuthRequest.to_json() 24 25 # convert the object into a dict 26 sts_auth_request_dict = sts_auth_request_instance.to_dict() 27 # create an instance of StsAuthRequest from a dict 28 sts_auth_request_form_dict = sts_auth_request.from_dict(sts_auth_request_dict) 29 ``` 30 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 31 32