Connectors

Catalyst Connectors manage the access token by refreshing it automatically on expiration. In the background, it will be using the Catalyst CloudScale Cache for its implementation.

The app reference used in the code below is the Python object returned as a response during SDK initialization. A connector is illustrated with the following code block. The response of the code block below returns the access token :

    
copy
connector = app.connection({ 'ConnectorName': { 'client_id': {client_id}, 'client_secret': {client_secret}, 'auth_url': {auth_url}, 'refresh_url': {refresh_url}, 'refresh_token': {refresh_token} } }).get_connector('ConnectorName') access_token = connector.get_access_token()

Last Updated 2024-02-23 17:29:25 +0530 +0530

ON THIS PAGE

RELATED LINKS

Cache