Skip to main content
function AuthCredentials.organizations
def AuthCredentials.organizations() -> typing.Any
The organizations this login’s user belongs to ([list_organizations]), for the login task to offer a choice when there is more than one. Empty for an issuer without the tenant API. function AuthCredentials.with_organization
def AuthCredentials.with_organization(
org: str,
/
) -> typing.Any
This login re-minted for organization org, named by display name (case-insensitive) or tenant id ([find_organization]). Returns the same credential when org is already the one it is minted for; otherwise org becomes the user’s default organization at the issuer to get it ([select_tenant]), which the caller can tell from the changed tenant_id. Ends the task with a message when org names none of the user’s organizations or the issuer will not mint for it. property AuthCredentials.access_token
AuthCredentials.access_token: str
property AuthCredentials.email
AuthCredentials.email: str
property AuthCredentials.name
AuthCredentials.name: str
property AuthCredentials.tenant_id
AuthCredentials.tenant_id: str
property AuthCredentials.token_status
AuthCredentials.token_status: str