galileo_sdk.sdk.auth.AuthSdk.device_flow

AuthSdk.device_flow(refresh_token_path='')[source]

Attempts to bring up a webbrowser for the user to authenticate. Otherwise, it will print a URL and access code to stdout.

Parameters

refresh_token_path – string: An optional file path for where to store auth token information. If you do not provide a file path, the programmer is responsible for handling persistence.

Returns

access_token, refresh_token, expiration