pycarol.auth.PwdKeyAuth

class pycarol.auth.PwdKeyAuth.PwdKeyAuth(access_token, lazy_login=False)[source]

Args:

access_token: str
Carol access token created using the user and password.
lazy_login: bool default False
It will not validate the access_token when starting the instance. This is used to speedup requests, when the user knows that this token is valid. Using this option, one lose all refresh token capability.
login(carol)[source]

Args:

carol: pycarol.Carol
Carol() instance.
Returns:
None