pycarol.auth.PwdKeyAuth

class pycarol.auth.PwdKeyAuth.PwdKeyAuth(access_token, lazy_login=False)[source]
Parameters
  • access_tokenstr Carol access token created using the user and password.

  • lazy_loginbool 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]
Parameters

carol – pycarol.Carol Carol() instance.

Returns

None