scitacean.auth.OAuthClient#

class scitacean.auth.OAuthClient(*args, **kwargs)[source]#

An OAuth client.

Constructors

__init__(*args, **kwargs)

Methods

login(*[, open_browser])

Run a login flow to get an access token from the identity provider.

Attributes

remote_timeout

The timeout for calls to the identity provider.

__init__(*args, **kwargs)#
login(*, open_browser=None)[source]#

Run a login flow to get an access token from the identity provider.

Return type:

ExpiringToken

property remote_timeout: timedelta#

The timeout for calls to the identity provider.