Cloud Keys 2020 Python Edition

Questions / Feedback?

refresh_token Property

Specifies the refresh token received from or sent to the authorization server.

Syntax

def get_refresh_token() -> str: ...
def set_refresh_token(value: str) -> None: ...

refresh_token = property(get_refresh_token, set_refresh_token)

Default Value

""

Remarks

When get_authorization is called if the authorization server returns a refresh token along with the access token, this property will hold the refresh token. Save this value for later use.

When your access token expires, set this property to the corresponding refresh token. Then call get_authorization and the class will use this token to retrieve a new access token. The new authorization string will be returned by the get_authorization method. No user interaction is required when refreshing an access token.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Keys 2020 Python Edition - Version 20.0 [Build 8157]