pycarol.auth.PwdAuth

Standard User/Password Auth

class pycarol.auth.PwdAuth.PwdAuth(user, password)[source]
Parameters
  • userstr Username

  • passwordstr Password

login(carol)[source]
Parameters

carol – pycarol.Carol Carol() instance.

Returns

None

switch_context(env_id)[source]

Switch context to an environment within the same organization.

Parameters

env_idstr environment id to switch context to.

Returns

None

switch_org_context(org_id)[source]

Go to the organization context or switch organization.

Parameters

org_idstr organization id.

Returns

None