module documentation

Ready to use workflows

Function get_access_token_with_browser_open Provides a simplified API to:
def get_access_token_with_browser_open(client_info: OAuth2ClientInfo, server_port: int = 8080) -> str:

Provides a simplified API to:

  • Spin up the callback server
  • Open the browser with the authorization URL
  • Wait for the code to arrive
  • Get access token from code
Parameters
client_info:OAuth2ClientInfoClient Info for Oauth2 Interaction
server_port:intPort of the local web server to spin up
Returns
strAccess Token