github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/python/docs/AuthenticationToken.md (about) 1 # AuthenticationToken 2 3 4 ## Properties 5 6 Name | Type | Description | Notes 7 ------------ | ------------- | ------------- | ------------- 8 **token** | **str** | a JWT token that could be used to authenticate requests | 9 **token_expiration** | **int** | Unix Epoch in seconds | [optional] 10 11 ## Example 12 13 ```python 14 from lakefs_sdk.models.authentication_token import AuthenticationToken 15 16 # TODO update the JSON string below 17 json = "{}" 18 # create an instance of AuthenticationToken from a JSON string 19 authentication_token_instance = AuthenticationToken.from_json(json) 20 # print the JSON string representation of the object 21 print AuthenticationToken.to_json() 22 23 # convert the object into a dict 24 authentication_token_dict = authentication_token_instance.to_dict() 25 # create an instance of AuthenticationToken from a dict 26 authentication_token_form_dict = authentication_token.from_dict(authentication_token_dict) 27 ``` 28 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 29 30