rctab_cli.state.State

class rctab_cli.state.State(access_token: Callable | None, verbose: bool = False)

Retrieves the state.

Parameters:
  • access_token – The access token.

  • verbose – Whether to display verbose output.

__init__(access_token: Callable | None, verbose: bool = False) None

Methods

__init__(access_token[, verbose])

get_access_token()

Get the access token.

get_headers()

Get the headers with the bearer token if the access_token is valid.

Attributes

verbose

access_token