pycarol.auth.PwdAuth

Standard User/Password Auth

class pycarol.auth.PwdAuth.PwdAuth(user, password)[source]

Args:

user: str
Username
password: str
Password
login(carol)[source]

Args:

carol: pycarol.Carol
Carol() instance.
Returns:
None
switch_context(env_id)[source]

Switch context to an environment within the same organization.

Args:

env_id: str
environment id to switch context to.

Returns:

None
switch_org_context(org_id)[source]

Go to the organization context or switch organization.

Args:

org_id: str
organization id.

Returns:

None