Help on package axis_vertex:
NAME
axis_vertex - Server-side Python SDK for Axis Vertex.
PACKAGE CONTENTS
_sync_runtime
account_security
account_security_client
claims
client
config
context
current_user
django (package)
errors
fastapi (package)
permission_codegen
permission_manifest
permissions
portal_open_api
profile
testing (package)
web_session (package)
CLASSES
axis_vertex.account_security_client.AccountSecurityOperations(builtins.object)
axis_vertex.client.IamClient
builtins.Exception(builtins.BaseException)
axis_vertex.errors.IamSdkError
axis_vertex.account_security.AccountSecurityError
axis_vertex.account_security.AccountSecurityProtocolError
axis_vertex.account_security.AccountSecurityTransportError
axis_vertex.errors.ForbiddenError
axis_vertex.errors.PermissionDeniedError
axis_vertex.errors.StepUpRequiredError
axis_vertex.errors.IamApiError
axis_vertex.errors.IamConfigError(axis_vertex.errors.IamSdkError, builtins.ValueError)
axis_vertex.errors.PortalOpenApiConfigError
axis_vertex.errors.PortalOpenApiError
axis_vertex.errors.PortalOpenApiTokenError
axis_vertex.errors.PortalOpenApiTransportError
axis_vertex.errors.UnauthorizedError
axis_vertex.permission_manifest.PermissionManifestError
builtins.object
axis_vertex.account_security.AccountIdentifier
axis_vertex.account_security.AccountIdentifiers
axis_vertex.account_security.AccountLoginMethod
axis_vertex.account_security.AccountLoginMethods
axis_vertex.account_security.AddIdentity
axis_vertex.account_security.EmailOtpReauthentication
axis_vertex.account_security.IdentifierCapability
axis_vertex.account_security.IdentifierManagement
axis_vertex.account_security.IdentityChallengeResult
axis_vertex.account_security.IdentityOperation
axis_vertex.account_security.IdentityOperationComplete
axis_vertex.account_security.IdentityOperationCreate
axis_vertex.account_security.IdentityProviderAuthorize
axis_vertex.account_security.IdentityRequiredProof
axis_vertex.account_security.IdentityTargetProof
axis_vertex.account_security.LinkIdentity
axis_vertex.account_security.LinkableIdentityProvider
axis_vertex.account_security.LoginIdentifier
axis_vertex.account_security.MfaAction
axis_vertex.account_security.MfaCapabilities
axis_vertex.account_security.MfaChallengeResult
axis_vertex.account_security.MfaCompletionResult
axis_vertex.account_security.MfaOperation
axis_vertex.account_security.MfaOperationCreate
axis_vertex.account_security.MfaOperationResult
axis_vertex.account_security.MfaProviderAuthorize
axis_vertex.account_security.OperationCompletion
axis_vertex.account_security.OperationProofOption
axis_vertex.account_security.OperationStepUpChallenge
axis_vertex.account_security.OperationStepUpVerify
axis_vertex.account_security.OperationWebAuthnStart
axis_vertex.account_security.OperationWebAuthnVerify
axis_vertex.account_security.PasswordReauthentication
axis_vertex.account_security.ProviderAuthorization
axis_vertex.account_security.ProviderExchange
axis_vertex.account_security.ProviderTarget
axis_vertex.account_security.RecoveryCodes
axis_vertex.account_security.RecoveryCodesRemaining
axis_vertex.account_security.RemoveIdentity
axis_vertex.account_security.ReplaceIdentity
axis_vertex.account_security.SetPrimaryIdentity
axis_vertex.account_security.TotpBeginResult
axis_vertex.account_security.TotpMaterial
axis_vertex.account_security.TransferIdentity
axis_vertex.account_security.UnlinkIdentity
axis_vertex.account_security.VerifyIdentity
axis_vertex.claims.Actor
axis_vertex.claims.IamClaims
axis_vertex.config.IamConfig
axis_vertex.context.IamContext
axis_vertex.context.IamUser
axis_vertex.current_user.AuthenticationContext
axis_vertex.current_user.CurrentUser
axis_vertex.current_user.ImpersonationContext
axis_vertex.permission_manifest.PermissionManifest
axis_vertex.permission_manifest.PermissionManifestClient
axis_vertex.permission_manifest.PermissionManifestClientConfig
axis_vertex.permission_manifest.PermissionManifestContinueEvent
axis_vertex.permission_manifest.PermissionManifestCounts
axis_vertex.permission_manifest.PermissionManifestDeclaration
axis_vertex.permission_manifest.PermissionManifestDrift
axis_vertex.permission_manifest.PermissionManifestItem
axis_vertex.permission_manifest.PermissionManifestObservation
axis_vertex.permission_manifest.PermissionManifestResult
axis_vertex.permission_manifest.PermissionManifestStartupOptions
axis_vertex.permission_manifest.PermissionManifestStartupResult
axis_vertex.permission_manifest.PreparedPermissionManifest
axis_vertex.permissions.PermissionDefinition
axis_vertex.permissions.PermissionKey
axis_vertex.portal_open_api.AuthorizationPageMetadata
axis_vertex.portal_open_api.AuthorizationPageOptions
axis_vertex.portal_open_api.CreateOrganizationInvitationRequest
axis_vertex.portal_open_api.CreateOrganizationRequest
axis_vertex.portal_open_api.CreatePermissionRequest
axis_vertex.portal_open_api.CreateRegistrationGrantRequest
axis_vertex.portal_open_api.CreateRoleRequest
axis_vertex.portal_open_api.CreateUserRoleRequest
axis_vertex.portal_open_api.CreatedRegistrationGrant
axis_vertex.portal_open_api.Organization
axis_vertex.portal_open_api.OrganizationInvitation
axis_vertex.portal_open_api.OrganizationInvitationListOptions
axis_vertex.portal_open_api.OrganizationInvitationPage
axis_vertex.portal_open_api.OrganizationListOptions
axis_vertex.portal_open_api.OrganizationMember
axis_vertex.portal_open_api.OrganizationMemberListOptions
axis_vertex.portal_open_api.OrganizationMemberPage
axis_vertex.portal_open_api.OrganizationPage
axis_vertex.portal_open_api.OrganizationPageMetadata
axis_vertex.portal_open_api.Permission
axis_vertex.portal_open_api.PermissionPage
axis_vertex.portal_open_api.PortalOpenApiClient
axis_vertex.portal_open_api.PortalOpenApiConfig
axis_vertex.portal_open_api.PortalOpenApiMachineToken
axis_vertex.portal_open_api.RegistrationGrant
axis_vertex.portal_open_api.RegistrationGrantDelivery
axis_vertex.portal_open_api.RegistrationGrantDeliveryRequest
axis_vertex.portal_open_api.RegistrationGrantListOptions
axis_vertex.portal_open_api.RegistrationGrantPage
axis_vertex.portal_open_api.RegistrationGrantPageMetadata
axis_vertex.portal_open_api.RegistrationGrantRedemption
axis_vertex.portal_open_api.RegistrationGrantRedemptionPage
axis_vertex.portal_open_api.Role
axis_vertex.portal_open_api.RolePage
axis_vertex.portal_open_api.RolePermissionBinding
axis_vertex.portal_open_api.RolePermissionBindingPage
axis_vertex.portal_open_api.RolePermissionSet
axis_vertex.portal_open_api.UpdateOrganizationRequest
axis_vertex.portal_open_api.UpdatePermissionRequest
axis_vertex.portal_open_api.UpdateRoleRequest
axis_vertex.portal_open_api.UserRoleAssignment
axis_vertex.portal_open_api.UserRoleAssignmentPage
axis_vertex.portal_open_api.UserRoleCondition
axis_vertex.profile.AccountOrganization
axis_vertex.profile.AccountPermissionSummary
axis_vertex.profile.AccountSecuritySummary
axis_vertex.profile.EmailVerificationResponse
axis_vertex.profile.OrganizationSwitchResponse
axis_vertex.profile.PermissionCheckResponse
axis_vertex.profile.PublicOrganizationInvitationAcceptResponse
axis_vertex.profile.PublicOrganizationInvitationPreview
axis_vertex.profile.SessionView
axis_vertex.profile.UserProfile
enum.StrEnum(builtins.str, enum.ReprEnum)
axis_vertex.account_security.AuthorizationPurpose
axis_vertex.account_security.IdentifierAction
axis_vertex.account_security.IdentifierDenial
axis_vertex.account_security.IdentifierKind
axis_vertex.account_security.IdentifierRequirement
axis_vertex.account_security.IdentityOperationState
axis_vertex.account_security.IdentityOperationType
axis_vertex.account_security.MfaOperationState
axis_vertex.account_security.MfaOperationType
axis_vertex.account_security.ProofMethod
axis_vertex.account_security.ProofRequirement
axis_vertex.account_security.SensitiveDelivery
axis_vertex.account_security.SessionImpact
axis_vertex.account_security.TargetProofMethod
axis_vertex.account_security.TransferDecision
class AccountIdentifier(builtins.object)
| AccountIdentifier(id: 'str', kind: 'IdentifierKind', display_value: 'str', status: 'str', verification_state: 'str', is_primary: 'bool', verified_at: 'str | None' = None, verification_source: 'str | None' = None, managed_by: 'str | None' = None, capabilities: 'dict[IdentifierAction, IdentifierCapability] | None' = None) -> None
|
| AccountIdentifier(id: 'str', kind: 'IdentifierKind', display_value: 'str', status: 'str', verification_state: 'str', is_primary: 'bool', verified_at: 'str | None' = None, verification_source: 'str | None' = None, managed_by: 'str | None' = None, capabilities: 'dict[IdentifierAction, IdentifierCapability] | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', kind: 'IdentifierKind', display_value: 'str', status: 'str', verification_state: 'str', is_primary: 'bool', verified_at: 'str | None' = None, verification_source: 'str | None' = None, managed_by: 'str | None' = None, capabilities: 'dict[IdentifierAction, IdentifierCapability] | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| capabilities
|
| display_value
|
| id
|
| is_primary
|
| kind
|
| managed_by
|
| status
|
| verification_source
|
| verification_state
|
| verified_at
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'capabilities': 'dict[IdentifierAction, IdentifierC...
|
| __dataclass_fields__ = {'capabilities': Field(name='capabilities',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'kind', 'display_value', 'status', 'verificati...
class AccountIdentifiers(builtins.object)
| AccountIdentifiers(login_method_version: 'int', items: 'tuple[AccountIdentifier, ...]', management: 'IdentifierManagement | None' = None) -> None
|
| AccountIdentifiers(login_method_version: 'int', items: 'tuple[AccountIdentifier, ...]', management: 'IdentifierManagement | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, login_method_version: 'int', items: 'tuple[AccountIdentifier, ...]', management: 'IdentifierManagement | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| items
|
| login_method_version
|
| management
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'items': 'tuple[AccountIdentifier, ...]', 'login_me...
|
| __dataclass_fields__ = {'items': Field(name='items',type='tuple[Accoun...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('login_method_version', 'items', 'management')
class AccountLoginMethod(builtins.object)
| AccountLoginMethod(method_id: 'str', kind: 'str', roles: 'tuple[str, ...]', status: 'str', capabilities: 'dict[str, bool]', unavailable_reasons: 'tuple[str, ...]', identifier_id: 'str | None' = None, credential_id: 'str | None' = None, identity_id: 'str | None' = None, provider_id: 'str | None' = None) -> None
|
| AccountLoginMethod(method_id: 'str', kind: 'str', roles: 'tuple[str, ...]', status: 'str', capabilities: 'dict[str, bool]', unavailable_reasons: 'tuple[str, ...]', identifier_id: 'str | None' = None, credential_id: 'str | None' = None, identity_id: 'str | None' = None, provider_id: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, method_id: 'str', kind: 'str', roles: 'tuple[str, ...]', status: 'str', capabilities: 'dict[str, bool]', unavailable_reasons: 'tuple[str, ...]', identifier_id: 'str | None' = None, credential_id: 'str | None' = None, identity_id: 'str | None' = None, provider_id: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| capabilities
|
| credential_id
|
| identifier_id
|
| identity_id
|
| kind
|
| method_id
|
| provider_id
|
| roles
|
| status
|
| unavailable_reasons
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'capabilities': 'dict[str, bool]', 'credential_id':...
|
| __dataclass_fields__ = {'capabilities': Field(name='capabilities',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('method_id', 'kind', 'roles', 'status', 'capabilitie...
class AccountLoginMethods(builtins.object)
| AccountLoginMethods(login_method_version: 'int', methods: 'tuple[AccountLoginMethod, ...]') -> None
|
| AccountLoginMethods(login_method_version: 'int', methods: 'tuple[AccountLoginMethod, ...]')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, login_method_version: 'int', methods: 'tuple[AccountLoginMethod, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| login_method_version
|
| methods
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'login_method_version': 'int', 'methods': 'tuple[Ac...
|
| __dataclass_fields__ = {'login_method_version': Field(name='login_meth...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('login_method_version', 'methods')
class AccountOrganization(builtins.object)
| AccountOrganization(organization_id: 'str', name: 'str', slug: 'str | None', role: 'str | None', joined_at: 'str | None', current: 'bool') -> None
|
| Current user's Application-scoped Organization membership.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, organization_id: 'str', name: 'str', slug: 'str | None', role: 'str | None', joined_at: 'str | None', current: 'bool') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'AccountOrganization'
| Parse an Organization membership response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| current
|
| joined_at
|
| name
|
| organization_id
|
| role
|
| slug
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'current': 'bool', 'joined_at': 'str | None', 'name...
|
| __dataclass_fields__ = {'current': Field(name='current',type='bool',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('organization_id', 'name', 'slug', 'role', 'joined_a...
class AccountPermissionSummary(builtins.object)
| AccountPermissionSummary(application_id: 'str', organization_id: 'str | None', roles: 'tuple[str, ...]', permissions: 'tuple[str, ...]') -> None
|
| Current-user permission summary resolved by IAM.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, application_id: 'str', organization_id: 'str | None', roles: 'tuple[str, ...]', permissions: 'tuple[str, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'AccountPermissionSummary'
| Parse a permission summary response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| application_id
|
| organization_id
|
| permissions
|
| roles
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'application_id': 'str', 'organization_id': 'str | ...
|
| __dataclass_fields__ = {'application_id': Field(name='application_id',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('application_id', 'organization_id', 'roles', 'permi...
class AccountSecurityError(axis_vertex.errors.IamSdkError)
| AccountSecurityError(status_code: 'int', code: 'str', retry_after_seconds: 'int | None') -> 'None'
|
| Stable producer code, HTTP status and validated retry delay; no raw body.
|
| Method resolution order:
| AccountSecurityError
| axis_vertex.errors.IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, status_code: 'int', code: 'str', retry_after_seconds: 'int | None') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from axis_vertex.errors.IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class AccountSecurityProtocolError(axis_vertex.errors.IamSdkError)
| The producer returned a malformed or unsupported security contract.
|
| Method resolution order:
| AccountSecurityProtocolError
| axis_vertex.errors.IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from axis_vertex.errors.IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class AccountSecuritySummary(builtins.object)
| AccountSecuritySummary(email_verified: 'bool', password_credential_present: 'bool', mfa_enrolled: 'bool', totp_enrolled: 'bool', web_authn_enrolled: 'bool', active_session_count: 'int') -> None
|
| Secret-free current-user security summary.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, email_verified: 'bool', password_credential_present: 'bool', mfa_enrolled: 'bool', totp_enrolled: 'bool', web_authn_enrolled: 'bool', active_session_count: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'AccountSecuritySummary'
| Parse a security summary response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| active_session_count
|
| email_verified
|
| mfa_enrolled
|
| password_credential_present
|
| totp_enrolled
|
| web_authn_enrolled
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'active_session_count': 'int', 'email_verified': 'b...
|
| __dataclass_fields__ = {'active_session_count': Field(name='active_ses...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('email_verified', 'password_credential_present', 'mf...
class AccountSecurityTransportError(axis_vertex.errors.IamSdkError)
| AccountSecurityTransportError(*, outcome_unknown: 'bool') -> 'None'
|
| No response; mutations may have committed. Query the saved operation identity.
|
| Method resolution order:
| AccountSecurityTransportError
| axis_vertex.errors.IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, *, outcome_unknown: 'bool') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from axis_vertex.errors.IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class Actor(builtins.object)
| Actor(subject: 'str') -> None
|
| Delegating actor carried by the JWT ``act`` claim during impersonation.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, subject: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| subject
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'subject': 'str'}
|
| __dataclass_fields__ = {'subject': Field(name='subject',type='str',def...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('subject',)
class AddIdentity(builtins.object)
| AddIdentity(identifier: 'LoginIdentifier') -> None
|
| AddIdentity(identifier: 'LoginIdentifier')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, identifier: 'LoginIdentifier') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| identifier
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'identifier': 'LoginIdentifier'}
|
| __dataclass_fields__ = {'identifier': Field(name='identifier',type='Lo...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('identifier',)
class AuthenticationContext(builtins.object)
| AuthenticationContext(subject_type: 'str', application_id: 'str', client_id: 'str', session_id: 'str', workspace_id: 'str | None', workspace_selection_required: 'bool', organization_id: 'str | None', organization_slug: 'str | None', organization_role: 'str | None', auth_time: 'datetime | None', authentication_methods: 'tuple[str, ...]', assurance_level: 'str | None', impersonation: 'ImpersonationContext | None') -> None
|
| AuthenticationContext(subject_type: 'str', application_id: 'str', client_id: 'str', session_id: 'str', workspace_id: 'str | None', workspace_selection_required: 'bool', organization_id: 'str | None', organization_slug: 'str | None', organization_role: 'str | None', auth_time: 'datetime | None', authentication_methods: 'tuple[str, ...]', assurance_level: 'str | None', impersonation: 'ImpersonationContext | None')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, subject_type: 'str', application_id: 'str', client_id: 'str', session_id: 'str', workspace_id: 'str | None', workspace_selection_required: 'bool', organization_id: 'str | None', organization_slug: 'str | None', organization_role: 'str | None', auth_time: 'datetime | None', authentication_methods: 'tuple[str, ...]', assurance_level: 'str | None', impersonation: 'ImpersonationContext | None') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| application_id
|
| assurance_level
|
| auth_time
|
| authentication_methods
|
| client_id
|
| impersonation
|
| organization_id
|
| organization_role
|
| organization_slug
|
| session_id
|
| subject_type
|
| workspace_id
|
| workspace_selection_required
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'application_id': 'str', 'assurance_level': 'str | ...
|
| __dataclass_fields__ = {'application_id': Field(name='application_id',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('subject_type', 'application_id', 'client_id', 'sess...
class AuthorizationPageMetadata(builtins.object)
| AuthorizationPageMetadata(size: 'int', number: 'int', total_elements: 'int', total_pages: 'int') -> None
|
| AuthorizationPageMetadata(size: 'int', number: 'int', total_elements: 'int', total_pages: 'int')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, size: 'int', number: 'int', total_elements: 'int', total_pages: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| number
|
| size
|
| total_elements
|
| total_pages
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'number': 'int', 'size': 'int', 'total_elements': '...
|
| __dataclass_fields__ = {'number': Field(name='number',type='int',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('size', 'number', 'total_elements', 'total_pages')
class AuthorizationPageOptions(builtins.object)
| AuthorizationPageOptions(page: 'int' = 0, size: 'int' = 20) -> None
|
| AuthorizationPageOptions(page: 'int' = 0, size: 'int' = 20)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, page: 'int' = 0, size: 'int' = 20) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| page
|
| size
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'page': 'int', 'size': 'int'}
|
| __dataclass_fields__ = {'page': Field(name='page',type='int',default=0...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('page', 'size')
class AuthorizationPurpose(enum.StrEnum)
| AuthorizationPurpose(*values)
|
| Method resolution order:
| AuthorizationPurpose
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| CURRENT_ACCOUNT = <AuthorizationPurpose.CURRENT_ACCOUNT: 'CURRENT_ACCO...
|
| TARGET_OWNERSHIP = <AuthorizationPurpose.TARGET_OWNERSHIP: 'TARGET_OWN...
|
| TRANSFER_COUNTERPART = <AuthorizationPurpose.TRANSFER_COUNTERPART: 'TR...
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class CreateOrganizationInvitationRequest(builtins.object)
| CreateOrganizationInvitationRequest(email: 'str', role: 'OrganizationMemberRole | None' = None, send_email: 'bool | None' = None) -> None
|
| Strict Organization invitation create payload.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, email: 'str', role: 'OrganizationMemberRole | None' = None, send_email: 'bool | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| email
|
| role
|
| send_email
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'email': 'str', 'role': 'OrganizationMemberRole | N...
|
| __dataclass_fields__ = {'email': Field(name='email',type='str',default...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('email', 'role', 'send_email')
class CreateOrganizationRequest(builtins.object)
| CreateOrganizationRequest(name: 'str', slug: 'str') -> None
|
| Strict Organization create payload.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, name: 'str', slug: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, str]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| name
|
| slug
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'name': 'str', 'slug': 'str'}
|
| __dataclass_fields__ = {'name': Field(name='name',type='str',default=<...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('name', 'slug')
class CreatePermissionRequest(builtins.object)
| CreatePermissionRequest(resource: 'str', action: 'str', name: 'str', description: 'str | None' = None) -> None
|
| CreatePermissionRequest(resource: 'str', action: 'str', name: 'str', description: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, resource: 'str', action: 'str', name: 'str', description: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| action
|
| description
|
| name
|
| resource
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'action': 'str', 'description': 'str | None', 'name...
|
| __dataclass_fields__ = {'action': Field(name='action',type='str',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('resource', 'action', 'name', 'description')
class CreateRegistrationGrantRequest(builtins.object)
| CreateRegistrationGrantRequest(type: 'CreateRegistrationGrantType', display_name: 'str | None' = None, allowed_email: 'str | None' = None, allowed_domain: 'str | None' = None, expires_at: 'str | None' = None, max_uses: 'int | None' = None) -> None
|
| Manual EMAIL_LINK or ACCESS_CODE registration-grant create payload.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, type: 'CreateRegistrationGrantType', display_name: 'str | None' = None, allowed_email: 'str | None' = None, allowed_domain: 'str | None' = None, expires_at: 'str | None' = None, max_uses: 'int | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| allowed_domain
|
| allowed_email
|
| display_name
|
| expires_at
|
| max_uses
|
| type
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'allowed_domain': 'str | None', 'allowed_email': 's...
|
| __dataclass_fields__ = {'allowed_domain': Field(name='allowed_domain',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('type', 'display_name', 'allowed_email', 'allowed_do...
class CreateRoleRequest(builtins.object)
| CreateRoleRequest(key: 'str', name: 'str', description: 'str | None' = None) -> None
|
| CreateRoleRequest(key: 'str', name: 'str', description: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, key: 'str', name: 'str', description: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| description
|
| key
|
| name
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'description': 'str | None', 'key': 'str', 'name': ...
|
| __dataclass_fields__ = {'description': Field(name='description',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('key', 'name', 'description')
class CreateUserRoleRequest(builtins.object)
| CreateUserRoleRequest(role_id: 'str', condition: 'UserRoleCondition | None' = None) -> None
|
| CreateUserRoleRequest(role_id: 'str', condition: 'UserRoleCondition | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, role_id: 'str', condition: 'UserRoleCondition | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| condition
|
| role_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'condition': 'UserRoleCondition | None', 'role_id':...
|
| __dataclass_fields__ = {'condition': Field(name='condition',type='User...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('role_id', 'condition')
class CreatedRegistrationGrant(builtins.object)
| CreatedRegistrationGrant(grant: 'RegistrationGrant', registration_grant_token: 'str | None', registration_access_code: 'str | None', registration_invitation_url: 'str | None', secret_already_issued: 'bool') -> None
|
| One-time create/rotate material, or a replay without reissued secrets.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, grant: 'RegistrationGrant', registration_grant_token: 'str | None', registration_access_code: 'str | None', registration_invitation_url: 'str | None', secret_already_issued: 'bool') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| grant
|
| registration_access_code
|
| registration_grant_token
|
| registration_invitation_url
|
| secret_already_issued
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'grant': 'RegistrationGrant', 'registration_access_...
|
| __dataclass_fields__ = {'grant': Field(name='grant',type='Registration...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('grant', 'registration_grant_token', 'registration_a...
class CurrentUser(builtins.object)
| CurrentUser(id: 'str', email: 'str | None', username: 'str | None', status: 'str', email_verified: 'bool', authentication_context: 'AuthenticationContext', metadata: 'Mapping[str, object]') -> None
|
| CurrentUser(id: 'str', email: 'str | None', username: 'str | None', status: 'str', email_verified: 'bool', authentication_context: 'AuthenticationContext', metadata: 'Mapping[str, object]')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', email: 'str | None', username: 'str | None', status: 'str', email_verified: 'bool', authentication_context: 'AuthenticationContext', metadata: 'Mapping[str, object]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(value: 'object') -> 'CurrentUser'
| Require complete bindings, including explicitly nullable context fields.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| authentication_context
|
| email
|
| email_verified
|
| id
|
| metadata
|
| status
|
| username
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'authentication_context': 'AuthenticationContext', ...
|
| __dataclass_fields__ = {'authentication_context': Field(name='authenti...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'email', 'username', 'status', 'email_verified...
class EmailOtpReauthentication(builtins.object)
| EmailOtpReauthentication(challenge_id: 'str', code: 'str') -> None
|
| EmailOtpReauthentication(challenge_id: 'str', code: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, challenge_id: 'str', code: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| challenge_id
|
| code
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'challenge_id': 'str', 'code': 'str'}
|
| __dataclass_fields__ = {'challenge_id': Field(name='challenge_id',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('challenge_id', 'code')
class EmailVerificationResponse(builtins.object)
| EmailVerificationResponse(message: 'str', retry_after_seconds: 'int | None') -> None
|
| Public email verification send/verify response.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, message: 'str', retry_after_seconds: 'int | None') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'EmailVerificationResponse'
| Parse an email verification response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| message
|
| retry_after_seconds
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'message': 'str', 'retry_after_seconds': 'int | Non...
|
| __dataclass_fields__ = {'message': Field(name='message',type='str',def...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('message', 'retry_after_seconds')
class ForbiddenError(IamSdkError)
| Raised when an authenticated caller is not allowed to perform an action.
|
| Method resolution order:
| ForbiddenError
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class IamApiError(IamSdkError)
| IamApiError(status_code: 'int', body: 'str') -> 'None'
|
| Raised when the IAM server returns an unsuccessful response.
|
| Method resolution order:
| IamApiError
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, status_code: 'int', body: 'str') -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class IamClaims(builtins.object)
| IamClaims(subject: 'str', application_id: 'str | None', email: 'str | None', email_verified: 'bool', username: 'str | None', organization_id: 'str | None', organization_slug: 'str | None', organization_role: 'str | None', workspace_id: 'str | None', session_id: 'str | None', roles: 'frozenset[str]', authentication_methods: 'tuple[str, ...]', authentication_context_class: 'str | None', actor: 'Actor | None', claims: 'Mapping[str, Any]') -> None
|
| Verified IAM access-token claims.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, subject: 'str', application_id: 'str | None', email: 'str | None', email_verified: 'bool', username: 'str | None', organization_id: 'str | None', organization_slug: 'str | None', organization_role: 'str | None', workspace_id: 'str | None', session_id: 'str | None', roles: 'frozenset[str]', authentication_methods: 'tuple[str, ...]', authentication_context_class: 'str | None', actor: 'Actor | None', claims: 'Mapping[str, Any]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(claims: 'Mapping[str, Any]') -> 'IamClaims'
| Build typed claims from a verified JWT payload.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| actor
|
| application_id
|
| authentication_context_class
|
| authentication_methods
|
| claims
|
| email
|
| email_verified
|
| organization_id
|
| organization_role
|
| organization_slug
|
| roles
|
| session_id
|
| subject
|
| username
|
| workspace_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'actor': 'Actor | None', 'application_id': 'str | N...
|
| __dataclass_fields__ = {'actor': Field(name='actor',type='Actor | None...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('subject', 'application_id', 'email', 'email_verifie...
class IamClient(axis_vertex.account_security_client.AccountSecurityOperations)
| IamClient(config: 'IamConfig', *, http_client: 'httpx.AsyncClient | None' = None, sync_http_client_factory: 'Callable[[], httpx.AsyncClient] | None' = None) -> 'None'
|
| Server-side IAM SDK client.
|
| The client verifies Java IAM access tokens, resolves roles to final
| permissions, exposes request context, and provides explicit profile and
| permission registration helpers.
|
| Method resolution order:
| IamClient
| axis_vertex.account_security_client.AccountSecurityOperations
| builtins.object
|
| Methods defined here:
|
| __init__(self, config: 'IamConfig', *, http_client: 'httpx.AsyncClient | None' = None, sync_http_client_factory: 'Callable[[], httpx.AsyncClient] | None' = None) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| async accept_organization_invitation(self, invitation_token: 'str', *, access_token: 'str | None' = None) -> 'PublicOrganizationInvitationAcceptResponse'
| Accept a public invitation or receive IAM's login-required continuation.
|
| accept_organization_invitation_sync(self, invitation_token: 'str', access_token: 'str | None' = None) -> 'PublicOrganizationInvitationAcceptResponse'
| Synchronous invitation accept wrapper for Django-style integrations.
|
| async authenticate(self, access_token: 'str') -> 'IamContext'
| Verify a token, resolve role permissions, and build request context.
|
| authenticate_sync(self, access_token: 'str') -> 'IamContext'
| Synchronous wrapper for Django-style integrations.
|
| async change_password(self, access_token: 'str', *, current_password: 'str', new_password: 'str') -> 'None'
| Change the current user's password with bearer auth.
|
| change_password_sync(self, access_token: 'str', *, current_password: 'str', new_password: 'str') -> 'None'
| Synchronous password-change wrapper for Django-style integrations.
|
| async check_account_permission(self, access_token: 'str', permission: 'str', *, organization_id: 'str | None' = None) -> 'PermissionCheckResponse'
| Check one permission through IAM. Wildcard semantics are backend-owned.
|
| check_account_permission_sync(self, access_token: 'str', permission: 'str', organization_id: 'str | None' = None) -> 'PermissionCheckResponse'
| Synchronous permission check wrapper for Django-style integrations.
|
| async close(self) -> 'None'
| Close the underlying HTTP client when owned by this SDK.
|
| close_sync(self) -> 'None'
| Close the synchronous pool and its persistent loop; do not block an async handler.
|
| async get_account_permission_summary(self, access_token: 'str', *, organization_id: 'str | None' = None) -> 'AccountPermissionSummary'
| Resolve current-user permissions in the active or explicit Organization context.
|
| get_account_permission_summary_sync(self, access_token: 'str', organization_id: 'str | None' = None) -> 'AccountPermissionSummary'
| Synchronous permission summary wrapper for Django-style integrations.
|
| async get_account_security_summary(self, access_token: 'str') -> 'AccountSecuritySummary'
| Return the current user's secret-free security summary.
|
| get_account_security_summary_sync(self, access_token: 'str') -> 'AccountSecuritySummary'
| Synchronous security summary wrapper for Django-style integrations.
|
| async get_current_account_organization(self, access_token: 'str') -> 'AccountOrganization | None'
| Return the selected Organization context, if any.
|
| get_current_account_organization_sync(self, access_token: 'str') -> 'AccountOrganization | None'
| Synchronous current Organization wrapper for Django-style integrations.
|
| async get_current_user(self, access_token: 'str') -> 'CurrentUser'
| Read GET /api/v1/auth/me safely; profile metadata grants no permissions.
|
| get_current_user_sync(self, access_token: 'str') -> 'CurrentUser'
| Explicit synchronous current-user wrapper.
|
| async get_me(self, access_token: 'str', *, bypass_cache: 'bool' = False) -> 'UserProfile'
| Return the current user's profile from ``GET /api/v1/auth/me/profile``.
|
| get_me_sync(self, access_token: 'str', bypass_cache: 'bool' = False) -> 'UserProfile'
| Synchronous profile wrapper for Django-style integrations.
|
| async has_account_organization_membership(self, access_token: 'str', organization_id: 'str') -> 'bool'
| Return membership by deriving it from the Organization list.
|
| has_account_organization_membership_sync(self, access_token: 'str', organization_id: 'str') -> 'bool'
| Synchronous membership check wrapper for Django-style integrations.
|
| async list_account_organizations(self, access_token: 'str') -> 'list[AccountOrganization]'
| List the current user's Application-scoped Organizations.
|
| list_account_organizations_sync(self, access_token: 'str') -> 'list[AccountOrganization]'
| Synchronous Organization list wrapper for Django-style integrations.
|
| async list_account_sessions(self, access_token: 'str') -> 'list[SessionView]'
| List the current user's active sessions.
|
| list_account_sessions_sync(self, access_token: 'str') -> 'list[SessionView]'
| Synchronous session list wrapper for Django-style integrations.
|
| async list_permissions(self, client_id: 'str | None' = None) -> 'list[PermissionDefinition]'
| Return a strictly parsed confidential role-permission snapshot.
|
| async logout_account(self, access_token: 'str') -> 'None'
| Revoke the authenticated OAuth token and session.
|
| logout_account_sync(self, access_token: 'str') -> 'None'
| Synchronous logout wrapper for Django-style integrations.
|
| async preview_organization_invitation(self, invitation_token: 'str') -> 'PublicOrganizationInvitationPreview'
| Preview a public Organization invitation without bearer auth.
|
| preview_organization_invitation_sync(self, invitation_token: 'str') -> 'PublicOrganizationInvitationPreview'
| Synchronous invitation preview wrapper for Django-style integrations.
|
| async request_password_reset(self, email: 'str', *, redirect_uri: 'str | None' = None) -> 'None'
| Start the opaque public forgot-password flow.
|
| request_password_reset_sync(self, email: 'str', *, redirect_uri: 'str | None' = None) -> 'None'
| Synchronous forgot-password wrapper for Django-style integrations.
|
| async reset_password(self, token: 'str', *, new_password: 'str') -> 'None'
| Complete public password reset.
|
| reset_password_sync(self, token: 'str', *, new_password: 'str') -> 'None'
| Synchronous password reset wrapper for Django-style integrations.
|
| async resolve_permissions(self, roles: 'Sequence[str]', client_id: 'str | None' = None) -> 'frozenset[str]'
| Resolve Java IAM roles to final ``resource:action`` permissions.
|
| async revoke_account_session(self, access_token: 'str', session_id: 'str') -> 'None'
| Revoke one session owned by the current user.
|
| revoke_account_session_sync(self, access_token: 'str', session_id: 'str') -> 'None'
| Synchronous single-session revoke wrapper for Django-style integrations.
|
| async revoke_other_account_sessions(self, access_token: 'str') -> 'None'
| Revoke all sessions except the current token's sid.
|
| revoke_other_account_sessions_sync(self, access_token: 'str') -> 'None'
| Synchronous other-sessions revoke wrapper for Django-style integrations.
|
| async send_email_verification(self, email: 'str') -> 'EmailVerificationResponse'
| Start the opaque public email verification send flow.
|
| send_email_verification_sync(self, email: 'str') -> 'EmailVerificationResponse'
| Synchronous email verification send wrapper for Django-style integrations.
|
| async switch_account_organization(self, access_token: 'str', organization_id: 'str') -> 'OrganizationSwitchResponse'
| Request an Organization switch and return IAM's refresh/reauth continuation.
|
| switch_account_organization_sync(self, access_token: 'str', organization_id: 'str') -> 'OrganizationSwitchResponse'
| Synchronous Organization switch wrapper for Django-style integrations.
|
| async update_account_profile(self, access_token: 'str', *, display_name: 'str | None' = None, avatar_url: 'str | None' = None) -> 'UserProfile'
| Update safe scalar profile fields via ``PATCH /api/v1/auth/me/profile``.
|
| async verify_email(self, token: 'str') -> 'EmailVerificationResponse'
| Verify a public email-verification token.
|
| verify_email_sync(self, token: 'str') -> 'EmailVerificationResponse'
| Synchronous email verification wrapper for Django-style integrations.
|
| async verify_token(self, access_token: 'str') -> 'IamClaims'
| Verify a Java IAM access token and return typed claims.
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {}
|
| ----------------------------------------------------------------------
| Methods inherited from axis_vertex.account_security_client.AccountSecurityOperations:
|
| async authorize_identity_operation(self, access_token: 'str', operation_id: 'str', request: 'security.IdentityProviderAuthorize') -> 'security.ProviderAuthorization'
| Execute the account security operation.
|
| authorize_identity_operation_sync(self, access_token: 'str', operation_id: 'str', request: 'security.IdentityProviderAuthorize') -> 'security.ProviderAuthorization'
|
| async authorize_mfa_operation(self, access_token: 'str', operation_id: 'str', request: 'security.MfaProviderAuthorize') -> 'security.ProviderAuthorization'
| Execute the account security operation.
|
| authorize_mfa_operation_sync(self, access_token: 'str', operation_id: 'str', request: 'security.MfaProviderAuthorize') -> 'security.ProviderAuthorization'
|
| async begin_totp_enrollment_operation(self, access_token: 'str', operation_id: 'str') -> 'security.TotpBeginResult'
| Execute the account security operation.
|
| begin_totp_enrollment_operation_sync(self, access_token: 'str', operation_id: 'str') -> 'security.TotpBeginResult'
|
| async cancel_identity_operation(self, access_token: 'str', operation_id: 'str') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| cancel_identity_operation_sync(self, access_token: 'str', operation_id: 'str') -> 'security.IdentityOperation'
|
| async cancel_mfa_operation(self, access_token: 'str', operation_id: 'str') -> 'security.MfaOperation'
| Execute the account security operation.
|
| cancel_mfa_operation_sync(self, access_token: 'str', operation_id: 'str') -> 'security.MfaOperation'
|
| async challenge_identity_current_account(self, access_token: 'str', operation_id: 'str', identifier_id: 'str') -> 'security.IdentityChallengeResult'
| Execute the account security operation.
|
| challenge_identity_current_account_sync(self, access_token: 'str', operation_id: 'str', identifier_id: 'str') -> 'security.IdentityChallengeResult'
|
| async challenge_identity_operation(self, access_token: 'str', operation_id: 'str', target_proof_method: 'security.TargetProofMethod') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| challenge_identity_operation_sync(self, access_token: 'str', operation_id: 'str', target_proof_method: 'security.TargetProofMethod') -> 'security.IdentityOperation'
|
| async challenge_mfa_operation(self, access_token: 'str', operation_id: 'str', identifier_id: 'str') -> 'security.MfaChallengeResult'
| Execute the account security operation.
|
| challenge_mfa_operation_sync(self, access_token: 'str', operation_id: 'str', identifier_id: 'str') -> 'security.MfaChallengeResult'
|
| async complete_identity_operation(self, access_token: 'str', operation_id: 'str', request: 'security.IdentityOperationComplete') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| complete_identity_operation_sync(self, access_token: 'str', operation_id: 'str', request: 'security.IdentityOperationComplete') -> 'security.IdentityOperation'
|
| async complete_identity_provider_authorization(self, access_token: 'str', operation_id: 'str', request: 'security.ProviderExchange') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| complete_identity_provider_authorization_sync(self, access_token: 'str', operation_id: 'str', request: 'security.ProviderExchange') -> 'security.IdentityOperation'
|
| async complete_mfa_operation(self, access_token: 'str', operation_id: 'str', code: 'str | None' = None) -> 'security.MfaCompletionResult'
| Execute the account security operation.
|
| complete_mfa_operation_sync(self, access_token: 'str', operation_id: 'str', code: 'str | None' = None) -> 'security.MfaCompletionResult'
|
| async complete_mfa_provider_authorization(self, access_token: 'str', operation_id: 'str', request: 'security.ProviderExchange') -> 'security.MfaOperation'
| Execute the account security operation.
|
| complete_mfa_provider_authorization_sync(self, access_token: 'str', operation_id: 'str', request: 'security.ProviderExchange') -> 'security.MfaOperation'
|
| async confirm_identity_transfer(self, access_token: 'str', operation_id: 'str', decision: 'security.TransferDecision') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| confirm_identity_transfer_sync(self, access_token: 'str', operation_id: 'str', decision: 'security.TransferDecision') -> 'security.IdentityOperation'
|
| async create_identity_operation(self, access_token: 'str', request: 'security.IdentityOperationCreate', idempotency_key: 'str') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| create_identity_operation_sync(self, access_token: 'str', request: 'security.IdentityOperationCreate', idempotency_key: 'str') -> 'security.IdentityOperation'
|
| async create_mfa_operation(self, access_token: 'str', request: 'security.MfaOperationCreate', idempotency_key: 'str') -> 'security.MfaOperation'
| Execute the account security operation.
|
| create_mfa_operation_sync(self, access_token: 'str', request: 'security.MfaOperationCreate', idempotency_key: 'str') -> 'security.MfaOperation'
|
| async get_identity_operation(self, access_token: 'str', operation_id: 'str') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| get_identity_operation_sync(self, access_token: 'str', operation_id: 'str') -> 'security.IdentityOperation'
|
| async get_mfa_capabilities(self, access_token: 'str') -> 'security.MfaCapabilities'
| Execute the account security operation.
|
| get_mfa_capabilities_sync(self, access_token: 'str') -> 'security.MfaCapabilities'
|
| async get_mfa_operation(self, access_token: 'str', operation_id: 'str') -> 'security.MfaOperation'
| Execute the account security operation.
|
| get_mfa_operation_sync(self, access_token: 'str', operation_id: 'str') -> 'security.MfaOperation'
|
| async get_recovery_codes_remaining(self, access_token: 'str') -> 'security.RecoveryCodesRemaining'
| Read the current unused count, never generation-time counts or plaintext codes.
|
| get_recovery_codes_remaining_sync(self, access_token: 'str') -> 'security.RecoveryCodesRemaining'
|
| async list_account_identifiers(self, access_token: 'str') -> 'security.AccountIdentifiers'
| Execute the account security operation.
|
| list_account_identifiers_sync(self, access_token: 'str') -> 'security.AccountIdentifiers'
|
| async list_account_login_methods(self, access_token: 'str') -> 'security.AccountLoginMethods'
| Execute the account security operation.
|
| list_account_login_methods_sync(self, access_token: 'str') -> 'security.AccountLoginMethods'
|
| async list_identity_transfers(self, access_token: 'str') -> 'tuple[security.IdentityOperation, ...]'
| Execute the account security operation.
|
| list_identity_transfers_sync(self, access_token: 'str') -> 'tuple[security.IdentityOperation, ...]'
|
| async list_linkable_identity_providers(self, access_token: 'str') -> 'tuple[security.LinkableIdentityProvider, ...]'
| Execute the account security operation.
|
| list_linkable_identity_providers_sync(self, access_token: 'str') -> 'tuple[security.LinkableIdentityProvider, ...]'
|
| async reauthenticate_identity_operation(self, access_token: 'str', operation_id: 'str', request: 'security.Reauthentication') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| reauthenticate_identity_operation_sync(self, access_token: 'str', operation_id: 'str', request: 'security.Reauthentication') -> 'security.IdentityOperation'
|
| async reauthenticate_mfa_operation(self, access_token: 'str', operation_id: 'str', request: 'security.Reauthentication') -> 'security.MfaOperation'
| Execute the account security operation.
|
| reauthenticate_mfa_operation_sync(self, access_token: 'str', operation_id: 'str', request: 'security.Reauthentication') -> 'security.MfaOperation'
|
| async start_identity_operation_step_up(self, access_token: 'str', operation_id: 'str') -> 'security.OperationStepUpChallenge'
| Execute the account security operation.
|
| start_identity_operation_step_up_sync(self, access_token: 'str', operation_id: 'str') -> 'security.OperationStepUpChallenge'
|
| async start_identity_operation_webauthn(self, access_token: 'str', operation_id: 'str', challenge_id: 'str') -> 'security.OperationWebAuthnStart'
| Execute the account security operation.
|
| start_identity_operation_webauthn_sync(self, access_token: 'str', operation_id: 'str', challenge_id: 'str') -> 'security.OperationWebAuthnStart'
|
| async start_mfa_operation_step_up(self, access_token: 'str', operation_id: 'str') -> 'security.OperationStepUpChallenge'
| Execute the account security operation.
|
| start_mfa_operation_step_up_sync(self, access_token: 'str', operation_id: 'str') -> 'security.OperationStepUpChallenge'
|
| async start_mfa_operation_webauthn(self, access_token: 'str', operation_id: 'str', challenge_id: 'str') -> 'security.OperationWebAuthnStart'
| Execute the account security operation.
|
| start_mfa_operation_webauthn_sync(self, access_token: 'str', operation_id: 'str', challenge_id: 'str') -> 'security.OperationWebAuthnStart'
|
| async verify_identity_operation_step_up(self, access_token: 'str', operation_id: 'str', request: 'security.OperationStepUpVerify') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| verify_identity_operation_step_up_sync(self, access_token: 'str', operation_id: 'str', request: 'security.OperationStepUpVerify') -> 'security.IdentityOperation'
|
| async verify_identity_operation_webauthn(self, access_token: 'str', operation_id: 'str', request: 'security.OperationWebAuthnVerify') -> 'security.IdentityOperation'
| Execute the account security operation.
|
| verify_identity_operation_webauthn_sync(self, access_token: 'str', operation_id: 'str', request: 'security.OperationWebAuthnVerify') -> 'security.IdentityOperation'
|
| async verify_mfa_operation_step_up(self, access_token: 'str', operation_id: 'str', request: 'security.OperationStepUpVerify') -> 'security.MfaOperation'
| Execute the account security operation.
|
| verify_mfa_operation_step_up_sync(self, access_token: 'str', operation_id: 'str', request: 'security.OperationStepUpVerify') -> 'security.MfaOperation'
|
| async verify_mfa_operation_webauthn(self, access_token: 'str', operation_id: 'str', request: 'security.OperationWebAuthnVerify') -> 'security.MfaOperation'
| Execute the account security operation.
|
| verify_mfa_operation_webauthn_sync(self, access_token: 'str', operation_id: 'str', request: 'security.OperationWebAuthnVerify') -> 'security.MfaOperation'
|
| ----------------------------------------------------------------------
| Data descriptors inherited from axis_vertex.account_security_client.AccountSecurityOperations:
|
| __dict__
| dictionary for instance variables
|
| __weakref__
| list of weak references to the object
class IamConfig(builtins.object)
| IamConfig(endpoint: 'str', client_id: 'str', client_secret: 'str', resource_audience: 'str' = '', issuer: 'str | None' = None, http_timeout: 'float' = 5.0, jwks_cache_ttl: 'float' = 300.0, permission_cache_ttl: 'float' = 300.0, user_profile_cache_ttl: 'float' = 60.0, fail_open: 'bool' = False) -> None
|
| Runtime configuration for :class:`axis_vertex.IamClient`.
|
| ``client_id`` is ``ApplicationClient.clientId`` for a WEB/M2M confidential
| ApplicationClient. ``resource_audience`` is ``Application.resourceAudience``
| and is used to verify access-token ``aud``. ``client_secret`` is required
| because this SDK resolves permissions and optionally registers permission
| definitions server-side.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, endpoint: 'str', client_id: 'str', client_secret: 'str', resource_audience: 'str' = '', issuer: 'str | None' = None, http_timeout: 'float' = 5.0, jwks_cache_ttl: 'float' = 300.0, permission_cache_ttl: 'float' = 300.0, user_profile_cache_ttl: 'float' = 60.0, fail_open: 'bool' = False) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __post_init__(self) -> 'None'
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| client_id
|
| client_secret
|
| endpoint
|
| fail_open
|
| http_timeout
|
| issuer
|
| jwks_cache_ttl
|
| permission_cache_ttl
|
| resource_audience
|
| user_profile_cache_ttl
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'client_id': 'str', 'client_secret': 'str', 'endpoi...
|
| __dataclass_fields__ = {'client_id': Field(name='client_id',type='str'...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('endpoint', 'client_id', 'client_secret', 'resource_...
class IamConfigError(IamSdkError, builtins.ValueError)
| Raised when SDK configuration is invalid.
|
| Method resolution order:
| IamConfigError
| IamSdkError
| builtins.ValueError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.ValueError:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.ValueError:
|
| __new__(*args, **kwargs) class method of builtins.ValueError
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class IamContext(builtins.object)
| IamContext(user: 'IamUser', access_token: 'str | None' = None) -> None
|
| Request-local IAM context exposed to framework integrations.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, user: 'IamUser', access_token: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| has_mfa(self) -> 'bool'
| Return whether the current user authenticated with MFA.
|
| has_permission(self, resource: 'str', action: 'str') -> 'bool'
| Return whether the current user has ``resource:action``.
|
| is_impersonating(self) -> 'bool'
| Return whether this request is an impersonated session.
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| actor
|
| application_id
|
| authentication_context_class
|
| authentication_methods
|
| claims
|
| email
|
| email_verified
|
| organization_id
|
| organization_role
|
| organization_slug
|
| permissions
|
| roles
|
| session_id
|
| user_id
|
| username
|
| workspace_id
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| access_token
|
| user
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'access_token': 'str | None', 'user': 'IamUser'}
|
| __dataclass_fields__ = {'access_token': Field(name='access_token',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('user', 'access_token')
class IamSdkError(builtins.Exception)
| Base class for SDK errors.
|
| Method resolution order:
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class IamUser(builtins.object)
| IamUser(user_id: 'str', application_id: 'str | None', email: 'str | None', email_verified: 'bool', username: 'str | None', organization_id: 'str | None', organization_slug: 'str | None', organization_role: 'str | None', workspace_id: 'str | None', session_id: 'str | None', roles: 'frozenset[str]', permissions: 'frozenset[str]', authentication_methods: 'tuple[str, ...]', authentication_context_class: 'str | None', actor: 'Actor | None', claims: 'Mapping[str, Any]') -> None
|
| Authenticated user derived from verified JWT claims and resolved permissions.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, user_id: 'str', application_id: 'str | None', email: 'str | None', email_verified: 'bool', username: 'str | None', organization_id: 'str | None', organization_slug: 'str | None', organization_role: 'str | None', workspace_id: 'str | None', session_id: 'str | None', roles: 'frozenset[str]', permissions: 'frozenset[str]', authentication_methods: 'tuple[str, ...]', authentication_context_class: 'str | None', actor: 'Actor | None', claims: 'Mapping[str, Any]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| has_mfa(self) -> 'bool'
| Return whether the authentication methods include an MFA factor.
|
| has_permission(self, resource: 'str', action: 'str') -> 'bool'
| Return whether the user has ``resource:action``.
|
| is_impersonating(self) -> 'bool'
| Return whether this token carries a delegating actor.
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_claims(claims: 'IamClaims', permissions: 'frozenset[str]') -> 'IamUser'
| Build a user value object from claims and resolved permissions.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| actor
|
| application_id
|
| authentication_context_class
|
| authentication_methods
|
| claims
|
| email
|
| email_verified
|
| organization_id
|
| organization_role
|
| organization_slug
|
| permissions
|
| roles
|
| session_id
|
| user_id
|
| username
|
| workspace_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'actor': 'Actor | None', 'application_id': 'str | N...
|
| __dataclass_fields__ = {'actor': Field(name='actor',type='Actor | None...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('user_id', 'application_id', 'email', 'email_verifie...
class IdentifierAction(enum.StrEnum)
| IdentifierAction(*values)
|
| Method resolution order:
| IdentifierAction
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| REMOVE = <IdentifierAction.REMOVE: 'REMOVE'>
|
| REPLACE = <IdentifierAction.REPLACE: 'REPLACE'>
|
| SET_PRIMARY = <IdentifierAction.SET_PRIMARY: 'SET_PRIMARY'>
|
| TRANSFER = <IdentifierAction.TRANSFER: 'TRANSFER'>
|
| VERIFY = <IdentifierAction.VERIFY: 'VERIFY'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class IdentifierCapability(builtins.object)
| IdentifierCapability(allowed: 'bool', unavailable_reasons: 'tuple[IdentifierDenial, ...]', requirements: 'tuple[IdentifierRequirement, ...]', replacement_primary_ids: 'tuple[str, ...]') -> None
|
| IdentifierCapability(allowed: 'bool', unavailable_reasons: 'tuple[IdentifierDenial, ...]', requirements: 'tuple[IdentifierRequirement, ...]', replacement_primary_ids: 'tuple[str, ...]')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, allowed: 'bool', unavailable_reasons: 'tuple[IdentifierDenial, ...]', requirements: 'tuple[IdentifierRequirement, ...]', replacement_primary_ids: 'tuple[str, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| allowed
|
| replacement_primary_ids
|
| requirements
|
| unavailable_reasons
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'allowed': 'bool', 'replacement_primary_ids': 'tupl...
|
| __dataclass_fields__ = {'allowed': Field(name='allowed',type='bool',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('allowed', 'unavailable_reasons', 'requirements', 'r...
class IdentifierDenial(enum.StrEnum)
| IdentifierDenial(*values)
|
| Method resolution order:
| IdentifierDenial
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| ACCOUNT_INACTIVE = <IdentifierDenial.ACCOUNT_INACTIVE: 'ACCOUNT_INACTI...
|
| ALREADY_PRIMARY = <IdentifierDenial.ALREADY_PRIMARY: 'ALREADY_PRIMARY'...
|
| ALREADY_VERIFIED = <IdentifierDenial.ALREADY_VERIFIED: 'ALREADY_VERIFI...
|
| IDENTIFIER_ALREADY_EXISTS = <IdentifierDenial.IDENTIFIER_ALREADY_EXIST...
|
| IDENTIFIER_RANGE_REJECTED = <IdentifierDenial.IDENTIFIER_RANGE_REJECTE...
|
| IDENTIFIER_UNVERIFIED = <IdentifierDenial.IDENTIFIER_UNVERIFIED: 'IDEN...
|
| LAST_LOGIN_METHOD = <IdentifierDenial.LAST_LOGIN_METHOD: 'LAST_LOGIN_M...
|
| MANAGED_IDENTIFIER = <IdentifierDenial.MANAGED_IDENTIFIER: 'MANAGED_ID...
|
| METHOD_UNAVAILABLE = <IdentifierDenial.METHOD_UNAVAILABLE: 'METHOD_UNA...
|
| NOT_APPLICABLE = <IdentifierDenial.NOT_APPLICABLE: 'NOT_APPLICABLE'>
|
| PRIMARY_REPLACEMENT_UNAVAILABLE = <IdentifierDenial.PRIMARY_REPLACEMEN...
|
| REAUTH_METHOD_UNAVAILABLE = <IdentifierDenial.REAUTH_METHOD_UNAVAILABL...
|
| TARGET_PROOF_UNAVAILABLE = <IdentifierDenial.TARGET_PROOF_UNAVAILABLE:...
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class IdentifierKind(enum.StrEnum)
| IdentifierKind(*values)
|
| Method resolution order:
| IdentifierKind
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| EMAIL = <IdentifierKind.EMAIL: 'EMAIL'>
|
| PHONE = <IdentifierKind.PHONE: 'PHONE'>
|
| USERNAME = <IdentifierKind.USERNAME: 'USERNAME'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class IdentifierManagement(builtins.object)
| IdentifierManagement(add: 'dict[IdentifierKind, IdentifierCapability]', proof_options: 'tuple[OperationProofOption, ...]') -> None
|
| IdentifierManagement(add: 'dict[IdentifierKind, IdentifierCapability]', proof_options: 'tuple[OperationProofOption, ...]')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, add: 'dict[IdentifierKind, IdentifierCapability]', proof_options: 'tuple[OperationProofOption, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| add
|
| proof_options
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'add': 'dict[IdentifierKind, IdentifierCapability]'...
|
| __dataclass_fields__ = {'add': Field(name='add',type='dict[IdentifierK...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('add', 'proof_options')
class IdentifierRequirement(enum.StrEnum)
| IdentifierRequirement(*values)
|
| Method resolution order:
| IdentifierRequirement
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| COUNTERPART_CONFIRMATION = <IdentifierRequirement.COUNTERPART_CONFIRMA...
|
| CURRENT_ACCOUNT_PROOF = <IdentifierRequirement.CURRENT_ACCOUNT_PROOF: ...
|
| NEW_IDENTIFIER = <IdentifierRequirement.NEW_IDENTIFIER: 'NEW_IDENTIFIE...
|
| REMAINING_LOGIN_PATH = <IdentifierRequirement.REMAINING_LOGIN_PATH: 'R...
|
| REMOVE_OLD = <IdentifierRequirement.REMOVE_OLD: 'REMOVE_OLD'>
|
| REPLACEMENT_PRIMARY = <IdentifierRequirement.REPLACEMENT_PRIMARY: 'REP...
|
| TARGET_EMAIL_OTP = <IdentifierRequirement.TARGET_EMAIL_OTP: 'TARGET_EM...
|
| TARGET_PHONE_OTP = <IdentifierRequirement.TARGET_PHONE_OTP: 'TARGET_PH...
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class IdentityChallengeResult(builtins.object)
| IdentityChallengeResult(operation: 'IdentityOperation', challenge_id: 'str', next_challenge_at: 'str') -> None
|
| IdentityChallengeResult(operation: 'IdentityOperation', challenge_id: 'str', next_challenge_at: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, operation: 'IdentityOperation', challenge_id: 'str', next_challenge_at: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| challenge_id
|
| next_challenge_at
|
| operation
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'challenge_id': 'str', 'next_challenge_at': 'str', ...
|
| __dataclass_fields__ = {'challenge_id': Field(name='challenge_id',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('operation', 'challenge_id', 'next_challenge_at')
class IdentityOperation(builtins.object)
| IdentityOperation(id: 'str', type: 'IdentityOperationType', state: 'IdentityOperationState', expires_at: 'str', required_proofs: 'tuple[IdentityRequiredProof, ...]', proof_options: 'tuple[OperationProofOption, ...]', result: 'dict[str, str] | None' = None, masked_identifier: 'str | None' = None, next_challenge_at: 'str | None' = None, completion: 'OperationCompletion | None' = None, provider_target: 'ProviderTarget | None' = None) -> None
|
| IdentityOperation(id: 'str', type: 'IdentityOperationType', state: 'IdentityOperationState', expires_at: 'str', required_proofs: 'tuple[IdentityRequiredProof, ...]', proof_options: 'tuple[OperationProofOption, ...]', result: 'dict[str, str] | None' = None, masked_identifier: 'str | None' = None, next_challenge_at: 'str | None' = None, completion: 'OperationCompletion | None' = None, provider_target: 'ProviderTarget | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', type: 'IdentityOperationType', state: 'IdentityOperationState', expires_at: 'str', required_proofs: 'tuple[IdentityRequiredProof, ...]', proof_options: 'tuple[OperationProofOption, ...]', result: 'dict[str, str] | None' = None, masked_identifier: 'str | None' = None, next_challenge_at: 'str | None' = None, completion: 'OperationCompletion | None' = None, provider_target: 'ProviderTarget | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| completion
|
| expires_at
|
| id
|
| masked_identifier
|
| next_challenge_at
|
| proof_options
|
| provider_target
|
| required_proofs
|
| result
|
| state
|
| type
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'completion': 'OperationCompletion | None', 'expire...
|
| __dataclass_fields__ = {'completion': Field(name='completion',type='Op...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'type', 'state', 'expires_at', 'required_proof...
class IdentityOperationComplete(builtins.object)
| IdentityOperationComplete(proofs: 'tuple[IdentityTargetProof, ...]') -> None
|
| IdentityOperationComplete(proofs: 'tuple[IdentityTargetProof, ...]')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, proofs: 'tuple[IdentityTargetProof, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| proofs
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'proofs': 'tuple[IdentityTargetProof, ...]'}
|
| __dataclass_fields__ = {'proofs': Field(name='proofs',type='tuple[Iden...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('proofs',)
class IdentityOperationCreate(builtins.object)
| IdentityOperationCreate(expected_login_method_version: 'int', payload: 'IdentityPayload') -> None
|
| IdentityOperationCreate(expected_login_method_version: 'int', payload: 'IdentityPayload')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, expected_login_method_version: 'int', payload: 'IdentityPayload') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| expected_login_method_version
|
| payload
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'expected_login_method_version': 'int', 'payload': ...
|
| __dataclass_fields__ = {'expected_login_method_version': Field(name='e...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('expected_login_method_version', 'payload')
class IdentityOperationState(enum.StrEnum)
| IdentityOperationState(*values)
|
| Method resolution order:
| IdentityOperationState
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| AWAITING_PROOF = <IdentityOperationState.AWAITING_PROOF: 'AWAITING_PRO...
|
| AWAITING_REAUTH = <IdentityOperationState.AWAITING_REAUTH: 'AWAITING_R...
|
| CANCELLED = <IdentityOperationState.CANCELLED: 'CANCELLED'>
|
| COMMITTED = <IdentityOperationState.COMMITTED: 'COMMITTED'>
|
| EXPIRED = <IdentityOperationState.EXPIRED: 'EXPIRED'>
|
| READY = <IdentityOperationState.READY: 'READY'>
|
| REJECTED = <IdentityOperationState.REJECTED: 'REJECTED'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class IdentityOperationType(enum.StrEnum)
| IdentityOperationType(*values)
|
| Method resolution order:
| IdentityOperationType
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| ACCOUNT_DELETE = <IdentityOperationType.ACCOUNT_DELETE: 'ACCOUNT_DELET...
|
| ADD = <IdentityOperationType.ADD: 'ADD'>
|
| LINK = <IdentityOperationType.LINK: 'LINK'>
|
| REMOVE = <IdentityOperationType.REMOVE: 'REMOVE'>
|
| REPLACE = <IdentityOperationType.REPLACE: 'REPLACE'>
|
| SET_PRIMARY = <IdentityOperationType.SET_PRIMARY: 'SET_PRIMARY'>
|
| TRANSFER = <IdentityOperationType.TRANSFER: 'TRANSFER'>
|
| UNLINK = <IdentityOperationType.UNLINK: 'UNLINK'>
|
| VERIFY = <IdentityOperationType.VERIFY: 'VERIFY'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class IdentityProviderAuthorize(builtins.object)
| IdentityProviderAuthorize(purpose: 'AuthorizationPurpose', redirect_uri: 'str', code_challenge: 'str', code_challenge_method: 'str', method_id: 'str | None' = None) -> None
|
| IdentityProviderAuthorize(purpose: 'AuthorizationPurpose', redirect_uri: 'str', code_challenge: 'str', code_challenge_method: 'str', method_id: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, purpose: 'AuthorizationPurpose', redirect_uri: 'str', code_challenge: 'str', code_challenge_method: 'str', method_id: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| code_challenge
|
| code_challenge_method
|
| method_id
|
| purpose
|
| redirect_uri
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'code_challenge': 'str', 'code_challenge_method': '...
|
| __dataclass_fields__ = {'code_challenge': Field(name='code_challenge',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('purpose', 'redirect_uri', 'code_challenge', 'code_c...
class IdentityRequiredProof(builtins.object)
| IdentityRequiredProof(purpose: 'str', methods: 'tuple[str, ...]', strength: 'str', satisfied: 'bool') -> None
|
| IdentityRequiredProof(purpose: 'str', methods: 'tuple[str, ...]', strength: 'str', satisfied: 'bool')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, purpose: 'str', methods: 'tuple[str, ...]', strength: 'str', satisfied: 'bool') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| methods
|
| purpose
|
| satisfied
|
| strength
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'methods': 'tuple[str, ...]', 'purpose': 'str', 'sa...
|
| __dataclass_fields__ = {'methods': Field(name='methods',type='tuple[st...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('purpose', 'methods', 'strength', 'satisfied')
class IdentityTargetProof(builtins.object)
| IdentityTargetProof(method: 'TargetProofMethod', code: 'str') -> None
|
| IdentityTargetProof(method: 'TargetProofMethod', code: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, method: 'TargetProofMethod', code: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| code
|
| method
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'code': 'str', 'method': 'TargetProofMethod'}
|
| __dataclass_fields__ = {'code': Field(name='code',type='str',default=<...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('method', 'code')
class ImpersonationContext(builtins.object)
| ImpersonationContext(actor_id: 'str', impersonation_id: 'str') -> None
|
| ImpersonationContext(actor_id: 'str', impersonation_id: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, actor_id: 'str', impersonation_id: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| actor_id
|
| impersonation_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'actor_id': 'str', 'impersonation_id': 'str'}
|
| __dataclass_fields__ = {'actor_id': Field(name='actor_id',type='str',d...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('actor_id', 'impersonation_id')
class LinkIdentity(builtins.object)
| LinkIdentity(provider_id: 'str') -> None
|
| LinkIdentity(provider_id: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, provider_id: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| provider_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'provider_id': 'str'}
|
| __dataclass_fields__ = {'provider_id': Field(name='provider_id',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('provider_id',)
class LinkableIdentityProvider(builtins.object)
| LinkableIdentityProvider(id: 'str', provider_type: 'str', protocol: 'str', display_name: 'str', enabled: 'bool', linked: 'bool', supports_account_linking: 'bool', can_link: 'bool', can_reauthenticate: 'bool', unavailable_reasons: 'tuple[str, ...]', linked_at: 'str | None' = None) -> None
|
| LinkableIdentityProvider(id: 'str', provider_type: 'str', protocol: 'str', display_name: 'str', enabled: 'bool', linked: 'bool', supports_account_linking: 'bool', can_link: 'bool', can_reauthenticate: 'bool', unavailable_reasons: 'tuple[str, ...]', linked_at: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', provider_type: 'str', protocol: 'str', display_name: 'str', enabled: 'bool', linked: 'bool', supports_account_linking: 'bool', can_link: 'bool', can_reauthenticate: 'bool', unavailable_reasons: 'tuple[str, ...]', linked_at: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| can_link
|
| can_reauthenticate
|
| display_name
|
| enabled
|
| id
|
| linked
|
| linked_at
|
| protocol
|
| provider_type
|
| supports_account_linking
|
| unavailable_reasons
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'can_link': 'bool', 'can_reauthenticate': 'bool', '...
|
| __dataclass_fields__ = {'can_link': Field(name='can_link',type='bool',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'provider_type', 'protocol', 'display_name', '...
class LoginIdentifier(builtins.object)
| LoginIdentifier(kind: 'IdentifierKind', value: 'str', region: 'str | None' = None) -> None
|
| LoginIdentifier(kind: 'IdentifierKind', value: 'str', region: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, kind: 'IdentifierKind', value: 'str', region: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| kind
|
| region
|
| value
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'kind': 'IdentifierKind', 'region': 'str | None', '...
|
| __dataclass_fields__ = {'kind': Field(name='kind',type='IdentifierKind...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('kind', 'value', 'region')
class MfaAction(builtins.object)
| MfaAction(allowed: 'bool', proof_requirement: 'ProofRequirement', proof_options: 'tuple[OperationProofOption, ...]', reason_code: 'str | None' = None) -> None
|
| MfaAction(allowed: 'bool', proof_requirement: 'ProofRequirement', proof_options: 'tuple[OperationProofOption, ...]', reason_code: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, allowed: 'bool', proof_requirement: 'ProofRequirement', proof_options: 'tuple[OperationProofOption, ...]', reason_code: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| allowed
|
| proof_options
|
| proof_requirement
|
| reason_code
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'allowed': 'bool', 'proof_options': 'tuple[Operatio...
|
| __dataclass_fields__ = {'allowed': Field(name='allowed',type='bool',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('allowed', 'proof_requirement', 'proof_options', 're...
class MfaCapabilities(builtins.object)
| MfaCapabilities(login_method_version: 'int', totp_enroll: 'MfaAction', totp_disable: 'MfaAction', recovery_codes_generate: 'MfaAction') -> None
|
| MfaCapabilities(login_method_version: 'int', totp_enroll: 'MfaAction', totp_disable: 'MfaAction', recovery_codes_generate: 'MfaAction')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, login_method_version: 'int', totp_enroll: 'MfaAction', totp_disable: 'MfaAction', recovery_codes_generate: 'MfaAction') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| login_method_version
|
| recovery_codes_generate
|
| totp_disable
|
| totp_enroll
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'login_method_version': 'int', 'recovery_codes_gene...
|
| __dataclass_fields__ = {'login_method_version': Field(name='login_meth...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('login_method_version', 'totp_enroll', 'totp_disable...
class MfaChallengeResult(builtins.object)
| MfaChallengeResult(operation: 'MfaOperation', challenge_id: 'str', next_challenge_at: 'str') -> None
|
| MfaChallengeResult(operation: 'MfaOperation', challenge_id: 'str', next_challenge_at: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, operation: 'MfaOperation', challenge_id: 'str', next_challenge_at: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| challenge_id
|
| next_challenge_at
|
| operation
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'challenge_id': 'str', 'next_challenge_at': 'str', ...
|
| __dataclass_fields__ = {'challenge_id': Field(name='challenge_id',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('operation', 'challenge_id', 'next_challenge_at')
class MfaCompletionResult(builtins.object)
| MfaCompletionResult(operation: 'MfaOperation', delivery: 'SensitiveDelivery', recovery_codes: 'RecoveryCodes | None' = None) -> None
|
| MfaCompletionResult(operation: 'MfaOperation', delivery: 'SensitiveDelivery', recovery_codes: 'RecoveryCodes | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, operation: 'MfaOperation', delivery: 'SensitiveDelivery', recovery_codes: 'RecoveryCodes | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| delivery
|
| operation
|
| recovery_codes
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'delivery': 'SensitiveDelivery', 'operation': 'MfaO...
|
| __dataclass_fields__ = {'delivery': Field(name='delivery',type='Sensit...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('operation', 'delivery', 'recovery_codes')
class MfaOperation(builtins.object)
| MfaOperation(id: 'str', type: 'MfaOperationType', state: 'MfaOperationState', created_at: 'str', expires_at: 'str', expected_login_method_version: 'int', proof_requirement: 'ProofRequirement', proof_options: 'tuple[OperationProofOption, ...]', proof_satisfied: 'bool', next_challenge_at: 'str | None' = None, reason_code: 'str | None' = None, result: 'MfaOperationResult | None' = None) -> None
|
| MfaOperation(id: 'str', type: 'MfaOperationType', state: 'MfaOperationState', created_at: 'str', expires_at: 'str', expected_login_method_version: 'int', proof_requirement: 'ProofRequirement', proof_options: 'tuple[OperationProofOption, ...]', proof_satisfied: 'bool', next_challenge_at: 'str | None' = None, reason_code: 'str | None' = None, result: 'MfaOperationResult | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', type: 'MfaOperationType', state: 'MfaOperationState', created_at: 'str', expires_at: 'str', expected_login_method_version: 'int', proof_requirement: 'ProofRequirement', proof_options: 'tuple[OperationProofOption, ...]', proof_satisfied: 'bool', next_challenge_at: 'str | None' = None, reason_code: 'str | None' = None, result: 'MfaOperationResult | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| created_at
|
| expected_login_method_version
|
| expires_at
|
| id
|
| next_challenge_at
|
| proof_options
|
| proof_requirement
|
| proof_satisfied
|
| reason_code
|
| result
|
| state
|
| type
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'created_at': 'str', 'expected_login_method_version...
|
| __dataclass_fields__ = {'created_at': Field(name='created_at',type='st...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'type', 'state', 'created_at', 'expires_at', '...
class MfaOperationCreate(builtins.object)
| MfaOperationCreate(type: 'MfaOperationType', expected_login_method_version: 'int') -> None
|
| MfaOperationCreate(type: 'MfaOperationType', expected_login_method_version: 'int')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, type: 'MfaOperationType', expected_login_method_version: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| expected_login_method_version
|
| type
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'expected_login_method_version': 'int', 'type': 'Mf...
|
| __dataclass_fields__ = {'expected_login_method_version': Field(name='e...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('type', 'expected_login_method_version')
class MfaOperationResult(builtins.object)
| MfaOperationResult(completed_at: 'str', final_login_method_version: 'int', session_impact: 'SessionImpact', recovery_batch_id: 'str | None' = None, recovery_count: 'int | None' = None) -> None
|
| MfaOperationResult(completed_at: 'str', final_login_method_version: 'int', session_impact: 'SessionImpact', recovery_batch_id: 'str | None' = None, recovery_count: 'int | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, completed_at: 'str', final_login_method_version: 'int', session_impact: 'SessionImpact', recovery_batch_id: 'str | None' = None, recovery_count: 'int | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| completed_at
|
| final_login_method_version
|
| recovery_batch_id
|
| recovery_count
|
| session_impact
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'completed_at': 'str', 'final_login_method_version'...
|
| __dataclass_fields__ = {'completed_at': Field(name='completed_at',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('completed_at', 'final_login_method_version', 'sessi...
class MfaOperationState(enum.StrEnum)
| MfaOperationState(*values)
|
| Method resolution order:
| MfaOperationState
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| AWAITING_CONFIRMATION = <MfaOperationState.AWAITING_CONFIRMATION: 'AWA...
|
| AWAITING_REAUTH = <MfaOperationState.AWAITING_REAUTH: 'AWAITING_REAUTH...
|
| CANCELLED = <MfaOperationState.CANCELLED: 'CANCELLED'>
|
| COMMITTED = <MfaOperationState.COMMITTED: 'COMMITTED'>
|
| EXPIRED = <MfaOperationState.EXPIRED: 'EXPIRED'>
|
| READY = <MfaOperationState.READY: 'READY'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class MfaOperationType(enum.StrEnum)
| MfaOperationType(*values)
|
| Method resolution order:
| MfaOperationType
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| RECOVERY_CODES_GENERATE = <MfaOperationType.RECOVERY_CODES_GENERATE: '...
|
| TOTP_DISABLE = <MfaOperationType.TOTP_DISABLE: 'TOTP_DISABLE'>
|
| TOTP_ENROLL = <MfaOperationType.TOTP_ENROLL: 'TOTP_ENROLL'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class MfaProviderAuthorize(builtins.object)
| MfaProviderAuthorize(method_id: 'str', redirect_uri: 'str', code_challenge: 'str', code_challenge_method: 'str') -> None
|
| MfaProviderAuthorize(method_id: 'str', redirect_uri: 'str', code_challenge: 'str', code_challenge_method: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, method_id: 'str', redirect_uri: 'str', code_challenge: 'str', code_challenge_method: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| code_challenge
|
| code_challenge_method
|
| method_id
|
| redirect_uri
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'code_challenge': 'str', 'code_challenge_method': '...
|
| __dataclass_fields__ = {'code_challenge': Field(name='code_challenge',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('method_id', 'redirect_uri', 'code_challenge', 'code...
class OperationCompletion(builtins.object)
| OperationCompletion(completed_at: 'str', final_login_method_version: 'int', session_impact: 'SessionImpact') -> None
|
| OperationCompletion(completed_at: 'str', final_login_method_version: 'int', session_impact: 'SessionImpact')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, completed_at: 'str', final_login_method_version: 'int', session_impact: 'SessionImpact') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| completed_at
|
| final_login_method_version
|
| session_impact
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'completed_at': 'str', 'final_login_method_version'...
|
| __dataclass_fields__ = {'completed_at': Field(name='completed_at',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('completed_at', 'final_login_method_version', 'sessi...
class OperationProofOption(builtins.object)
| OperationProofOption(method: 'ProofMethod', identifier_id: 'str | None' = None, masked_identifier: 'str | None' = None, method_id: 'str | None' = None, display_name: 'str | None' = None, available_methods: 'tuple[str, ...] | None' = None) -> None
|
| OperationProofOption(method: 'ProofMethod', identifier_id: 'str | None' = None, masked_identifier: 'str | None' = None, method_id: 'str | None' = None, display_name: 'str | None' = None, available_methods: 'tuple[str, ...] | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, method: 'ProofMethod', identifier_id: 'str | None' = None, masked_identifier: 'str | None' = None, method_id: 'str | None' = None, display_name: 'str | None' = None, available_methods: 'tuple[str, ...] | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| available_methods
|
| display_name
|
| identifier_id
|
| masked_identifier
|
| method
|
| method_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'available_methods': 'tuple[str, ...] | None', 'dis...
|
| __dataclass_fields__ = {'available_methods': Field(name='available_met...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('method', 'identifier_id', 'masked_identifier', 'met...
class OperationStepUpChallenge(builtins.object)
| OperationStepUpChallenge(challenge_id: 'str', available_methods: 'tuple[str, ...]') -> None
|
| OperationStepUpChallenge(challenge_id: 'str', available_methods: 'tuple[str, ...]')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, challenge_id: 'str', available_methods: 'tuple[str, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| available_methods
|
| challenge_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'available_methods': 'tuple[str, ...]', 'challenge_...
|
| __dataclass_fields__ = {'available_methods': Field(name='available_met...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('challenge_id', 'available_methods')
class OperationStepUpVerify(builtins.object)
| OperationStepUpVerify(challenge_id: 'str', code: 'str') -> None
|
| OperationStepUpVerify(challenge_id: 'str', code: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, challenge_id: 'str', code: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| challenge_id
|
| code
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'challenge_id': 'str', 'code': 'str'}
|
| __dataclass_fields__ = {'challenge_id': Field(name='challenge_id',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('challenge_id', 'code')
class OperationWebAuthnStart(builtins.object)
| OperationWebAuthnStart(request_id: 'str', public_key: 'str') -> None
|
| OperationWebAuthnStart(request_id: 'str', public_key: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, request_id: 'str', public_key: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| public_key
|
| request_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'public_key': 'str', 'request_id': 'str'}
|
| __dataclass_fields__ = {'public_key': Field(name='public_key',type='st...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('request_id', 'public_key')
class OperationWebAuthnVerify(builtins.object)
| OperationWebAuthnVerify(challenge_id: 'str', request_id: 'str', credential: 'str') -> None
|
| OperationWebAuthnVerify(challenge_id: 'str', request_id: 'str', credential: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, challenge_id: 'str', request_id: 'str', credential: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| challenge_id
|
| credential
|
| request_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'challenge_id': 'str', 'credential': 'str', 'reques...
|
| __dataclass_fields__ = {'challenge_id': Field(name='challenge_id',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('challenge_id', 'request_id', 'credential')
class Organization(builtins.object)
| Organization(id: 'str', name: 'str', slug: 'str', version: 'int', created_at: 'str', updated_at: 'str', etag: 'str | None' = None) -> None
|
| Application-bound Organization detail with the ETag from create/get/update.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', name: 'str', slug: 'str', version: 'int', created_at: 'str', updated_at: 'str', etag: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| created_at
|
| etag
|
| id
|
| name
|
| slug
|
| updated_at
|
| version
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'created_at': 'str', 'etag': 'str | None', 'id': 's...
|
| __dataclass_fields__ = {'created_at': Field(name='created_at',type='st...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'name', 'slug', 'version', 'created_at', 'upda...
class OrganizationInvitation(builtins.object)
| OrganizationInvitation(id: 'str', email: 'str', role: 'OrganizationMemberRole', status: 'OrganizationInvitationStatus', delivery_status: 'OrganizationInvitationDeliveryStatus', expires_at: 'str', created_at: 'str', updated_at: 'str') -> None
|
| Safe invitation detail; no raw invitation proof is exposed.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', email: 'str', role: 'OrganizationMemberRole', status: 'OrganizationInvitationStatus', delivery_status: 'OrganizationInvitationDeliveryStatus', expires_at: 'str', created_at: 'str', updated_at: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| created_at
|
| delivery_status
|
| email
|
| expires_at
|
| id
|
| role
|
| status
|
| updated_at
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'created_at': 'str', 'delivery_status': 'Organizati...
|
| __dataclass_fields__ = {'created_at': Field(name='created_at',type='st...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'email', 'role', 'status', 'delivery_status', ...
class OrganizationInvitationListOptions(builtins.object)
| OrganizationInvitationListOptions(status: 'OrganizationInvitationStatus | None' = None, page: 'int | None' = None, size: 'int | None' = None) -> None
|
| Optional invitation terminal-state filter and paging parameters.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, status: 'OrganizationInvitationStatus | None' = None, page: 'int | None' = None, size: 'int | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| page
|
| size
|
| status
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'page': 'int | None', 'size': 'int | None', 'status...
|
| __dataclass_fields__ = {'page': Field(name='page',type='int | None',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('status', 'page', 'size')
class OrganizationInvitationPage(builtins.object)
| OrganizationInvitationPage(content: 'tuple[OrganizationInvitation, ...]', page: 'OrganizationPageMetadata') -> None
|
| Page of Organization invitation lifecycle and delivery details.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[OrganizationInvitation, ...]', page: 'OrganizationPageMetadata') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[OrganizationInvitation, ...]', 'p...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Or...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page')
class OrganizationListOptions(builtins.object)
| OrganizationListOptions(search: 'str | None' = None, page: 'int | None' = None, size: 'int | None' = None, sort: 'tuple[str, ...]' = (), direction: 'tuple[OrganizationSortDirection, ...]' = ()) -> None
|
| Optional Organization search, paging, and sorting parameters.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, search: 'str | None' = None, page: 'int | None' = None, size: 'int | None' = None, sort: 'tuple[str, ...]' = (), direction: 'tuple[OrganizationSortDirection, ...]' = ()) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| direction
|
| page
|
| search
|
| size
|
| sort
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'direction': 'tuple[OrganizationSortDirection, ...]...
|
| __dataclass_fields__ = {'direction': Field(name='direction',type='tupl...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('search', 'page', 'size', 'sort', 'direction')
class OrganizationMember(builtins.object)
| OrganizationMember(membership_id: 'str', user_id: 'str', email: 'str', display_name: 'str', role: 'OrganizationMemberRole', joined_at: 'str', updated_at: 'str', version: 'int') -> None
|
| Organization membership detail, including optimistic-lock version.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, membership_id: 'str', user_id: 'str', email: 'str', display_name: 'str', role: 'OrganizationMemberRole', joined_at: 'str', updated_at: 'str', version: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| display_name
|
| email
|
| joined_at
|
| membership_id
|
| role
|
| updated_at
|
| user_id
|
| version
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'display_name': 'str', 'email': 'str', 'joined_at':...
|
| __dataclass_fields__ = {'display_name': Field(name='display_name',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('membership_id', 'user_id', 'email', 'display_name',...
class OrganizationMemberListOptions(builtins.object)
| OrganizationMemberListOptions(search: 'str | None' = None, page: 'int | None' = None, size: 'int | None' = None) -> None
|
| Optional Organization member search and paging parameters.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, search: 'str | None' = None, page: 'int | None' = None, size: 'int | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| page
|
| search
|
| size
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'page': 'int | None', 'search': 'str | None', 'size...
|
| __dataclass_fields__ = {'page': Field(name='page',type='int | None',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('search', 'page', 'size')
class OrganizationMemberPage(builtins.object)
| OrganizationMemberPage(content: 'tuple[OrganizationMember, ...]', page: 'OrganizationPageMetadata') -> None
|
| Page of Organization memberships.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[OrganizationMember, ...]', page: 'OrganizationPageMetadata') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[OrganizationMember, ...]', 'page'...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Or...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page')
class OrganizationPage(builtins.object)
| OrganizationPage(content: 'tuple[Organization, ...]', page: 'OrganizationPageMetadata') -> None
|
| Page of Application-bound Organizations.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[Organization, ...]', page: 'OrganizationPageMetadata') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[Organization, ...]', 'page': 'Org...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Or...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page')
class OrganizationPageMetadata(builtins.object)
| OrganizationPageMetadata(size: 'int', number: 'int', total_elements: 'int', total_pages: 'int') -> None
|
| Nested Spring PagedModel metadata for Organization management lists.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, size: 'int', number: 'int', total_elements: 'int', total_pages: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| number
|
| size
|
| total_elements
|
| total_pages
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'number': 'int', 'size': 'int', 'total_elements': '...
|
| __dataclass_fields__ = {'number': Field(name='number',type='int',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('size', 'number', 'total_elements', 'total_pages')
class OrganizationSwitchResponse(builtins.object)
| OrganizationSwitchResponse(organization_id: 'str', continuation: 'str | None', token_refresh_required: 'bool', message: 'str | None') -> None
|
| Current Organization switch continuation response.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, organization_id: 'str', continuation: 'str | None', token_refresh_required: 'bool', message: 'str | None') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'OrganizationSwitchResponse'
| Parse an Organization switch response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| continuation
|
| message
|
| organization_id
|
| token_refresh_required
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'continuation': 'str | None', 'message': 'str | Non...
|
| __dataclass_fields__ = {'continuation': Field(name='continuation',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('organization_id', 'continuation', 'token_refresh_re...
class PasswordReauthentication(builtins.object)
| PasswordReauthentication(password: 'str') -> None
|
| PasswordReauthentication(password: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, password: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| password
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'password': 'str'}
|
| __dataclass_fields__ = {'password': Field(name='password',type='str',d...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('password',)
class Permission(builtins.object)
| Permission(id: 'str', resource: 'str', action: 'str', key: 'str', name: 'str', description: 'str | None', source: "Literal['CODE', 'MANUAL']", version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '') -> None
|
| Permission(id: 'str', resource: 'str', action: 'str', key: 'str', name: 'str', description: 'str | None', source: "Literal['CODE', 'MANUAL']", version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', resource: 'str', action: 'str', key: 'str', name: 'str', description: 'str | None', source: "Literal['CODE', 'MANUAL']", version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| action
|
| created_at
|
| description
|
| etag
|
| id
|
| key
|
| name
|
| resource
|
| source
|
| updated_at
|
| version
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'action': 'str', 'created_at': 'str', 'description'...
|
| __dataclass_fields__ = {'action': Field(name='action',type='str',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'resource', 'action', 'key', 'name', 'descript...
class PermissionCheckResponse(builtins.object)
| PermissionCheckResponse(application_id: 'str', organization_id: 'str | None', permission: 'str', allowed: 'bool', roles: 'tuple[str, ...]') -> None
|
| Current-user permission check result returned by IAM.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, application_id: 'str', organization_id: 'str | None', permission: 'str', allowed: 'bool', roles: 'tuple[str, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'PermissionCheckResponse'
| Parse a permission check response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| allowed
|
| application_id
|
| organization_id
|
| permission
|
| roles
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'allowed': 'bool', 'application_id': 'str', 'organi...
|
| __dataclass_fields__ = {'allowed': Field(name='allowed',type='bool',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('application_id', 'organization_id', 'permission', '...
class PermissionDefinition(builtins.object)
| PermissionDefinition(resource: 'str', action: 'str', description: 'str' = '') -> None
|
| Permission declaration that can be registered with IAM.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, resource: 'str', action: 'str', description: 'str' = '') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| key
| Return the key for this definition.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| action
|
| description
|
| resource
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'action': 'str', 'description': 'str', 'resource': ...
|
| __dataclass_fields__ = {'action': Field(name='action',type='str',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('resource', 'action', 'description')
class PermissionDeniedError(ForbiddenError)
| Raised when a caller lacks a required permission.
|
| Method resolution order:
| PermissionDeniedError
| ForbiddenError
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class PermissionKey(builtins.object)
| PermissionKey(resource: 'str', action: 'str') -> None
|
| Canonical ``resource:action`` permission identifier.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, resource: 'str', action: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| authority(self) -> 'str'
| Return the wire-format authority string.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| action
|
| resource
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'action': 'str', 'resource': 'str'}
|
| __dataclass_fields__ = {'action': Field(name='action',type='str',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('resource', 'action')
class PermissionManifest(builtins.object)
| PermissionManifest(manifest_id: 'str', revision: 'str', permissions: 'tuple[PermissionManifestDeclaration, ...]') -> None
|
| PermissionManifest(manifest_id: 'str', revision: 'str', permissions: 'tuple[PermissionManifestDeclaration, ...]')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, manifest_id: 'str', revision: 'str', permissions: 'tuple[PermissionManifestDeclaration, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| manifest_id
|
| permissions
|
| revision
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'manifest_id': 'str', 'permissions': 'tuple[Permiss...
|
| __dataclass_fields__ = {'manifest_id': Field(name='manifest_id',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('manifest_id', 'revision', 'permissions')
class PermissionManifestClient(builtins.object)
| PermissionManifestClient(config: 'PermissionManifestClientConfig', *, http_client: 'httpx.AsyncClient | None' = None) -> 'None'
|
| Confidential M2M client for permission manifests.
|
| Methods defined here:
|
| __init__(self, config: 'PermissionManifestClientConfig', *, http_client: 'httpx.AsyncClient | None' = None) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| clear_token_cache(self) -> 'None'
|
| async close(self) -> 'None'
|
| async upsert(self, manifest: 'PermissionManifest', idempotency_key: 'str') -> 'PermissionManifestResult'
|
| async validate(self, manifest: 'PermissionManifest') -> 'PermissionManifestResult'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables
|
| __weakref__
| list of weak references to the object
class PermissionManifestClientConfig(builtins.object)
| PermissionManifestClientConfig(issuer_endpoint: 'str', portal_api_endpoint: 'str', client_id: 'str', client_secret: 'str', timeout: 'float' = 5.0, token_skew_seconds: 'float' = 30.0, max_retries: 'int' = 2, max_retry_delay: 'float' = 5.0, observer: 'Callable[[PermissionManifestObservation], None] | None' = None) -> None
|
| PermissionManifestClientConfig(issuer_endpoint: 'str', portal_api_endpoint: 'str', client_id: 'str', client_secret: 'str', timeout: 'float' = 5.0, token_skew_seconds: 'float' = 30.0, max_retries: 'int' = 2, max_retry_delay: 'float' = 5.0, observer: 'Callable[[PermissionManifestObservation], None] | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, issuer_endpoint: 'str', portal_api_endpoint: 'str', client_id: 'str', client_secret: 'str', timeout: 'float' = 5.0, token_skew_seconds: 'float' = 30.0, max_retries: 'int' = 2, max_retry_delay: 'float' = 5.0, observer: 'Callable[[PermissionManifestObservation], None] | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| client_id
|
| client_secret
|
| issuer_endpoint
|
| max_retries
|
| max_retry_delay
|
| observer
|
| portal_api_endpoint
|
| timeout
|
| token_skew_seconds
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'client_id': 'str', 'client_secret': 'str', 'issuer...
|
| __dataclass_fields__ = {'client_id': Field(name='client_id',type='str'...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('issuer_endpoint', 'portal_api_endpoint', 'client_id...
class PermissionManifestContinueEvent(builtins.object)
| PermissionManifestContinueEvent(mode: "Literal['DEVELOPMENT_STARTUP']", outcome: "Literal['CONTINUED']", status: 'int', code: 'str') -> None
|
| PermissionManifestContinueEvent(mode: "Literal['DEVELOPMENT_STARTUP']", outcome: "Literal['CONTINUED']", status: 'int', code: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, mode: "Literal['DEVELOPMENT_STARTUP']", outcome: "Literal['CONTINUED']", status: 'int', code: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| code
|
| mode
|
| outcome
|
| status
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'code': 'str', 'mode': "Literal['DEVELOPMENT_STARTU...
|
| __dataclass_fields__ = {'code': Field(name='code',type='str',default=<...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('mode', 'outcome', 'status', 'code')
class PermissionManifestCounts(builtins.object)
| PermissionManifestCounts(created: 'int', updated: 'int', unchanged: 'int', resurrected: 'int', conflict: 'int', drift: 'int') -> None
|
| PermissionManifestCounts(created: 'int', updated: 'int', unchanged: 'int', resurrected: 'int', conflict: 'int', drift: 'int')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, created: 'int', updated: 'int', unchanged: 'int', resurrected: 'int', conflict: 'int', drift: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| conflict
|
| created
|
| drift
|
| resurrected
|
| unchanged
|
| updated
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'conflict': 'int', 'created': 'int', 'drift': 'int'...
|
| __dataclass_fields__ = {'conflict': Field(name='conflict',type='int',d...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('created', 'updated', 'unchanged', 'resurrected', 'c...
class PermissionManifestDeclaration(builtins.object)
| PermissionManifestDeclaration(resource: 'str', action: 'str', name: 'str', description: 'str | None' = None) -> None
|
| PermissionManifestDeclaration(resource: 'str', action: 'str', name: 'str', description: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, resource: 'str', action: 'str', name: 'str', description: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Readonly properties defined here:
|
| key
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| action
|
| description
|
| name
|
| resource
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'action': 'str', 'description': 'str | None', 'name...
|
| __dataclass_fields__ = {'action': Field(name='action',type='str',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('resource', 'action', 'name', 'description')
class PermissionManifestDrift(builtins.object)
| PermissionManifestDrift(key: 'str', kind: 'str', source: 'str') -> None
|
| PermissionManifestDrift(key: 'str', kind: 'str', source: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, key: 'str', kind: 'str', source: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| key
|
| kind
|
| source
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'key': 'str', 'kind': 'str', 'source': 'str'}
|
| __dataclass_fields__ = {'key': Field(name='key',type='str',default=<da...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('key', 'kind', 'source')
class PermissionManifestError(builtins.Exception)
| PermissionManifestError(message: 'str', status_code: 'int' = 0, code: 'str' = '', *, correlation_id: 'str | None' = None, retry_after_seconds: 'int | None' = None, body: 'object' = None) -> 'None'
|
| Typed V2 protocol or transport error.
|
| Method resolution order:
| PermissionManifestError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, message: 'str', status_code: 'int' = 0, code: 'str' = '', *, correlation_id: 'str | None' = None, retry_after_seconds: 'int | None' = None, body: 'object' = None) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class PermissionManifestItem(builtins.object)
| PermissionManifestItem(key: 'str', operation: 'str', reason: 'str') -> None
|
| PermissionManifestItem(key: 'str', operation: 'str', reason: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, key: 'str', operation: 'str', reason: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| key
|
| operation
|
| reason
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'key': 'str', 'operation': 'str', 'reason': 'str'}
|
| __dataclass_fields__ = {'key': Field(name='key',type='str',default=<da...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('key', 'operation', 'reason')
class PermissionManifestObservation(builtins.object)
| PermissionManifestObservation(mode: 'PermissionManifestMode', outcome: "Literal['SUCCESS', 'ERROR']", status: 'int', duration_seconds: 'float') -> None
|
| PermissionManifestObservation(mode: 'PermissionManifestMode', outcome: "Literal['SUCCESS', 'ERROR']", status: 'int', duration_seconds: 'float')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, mode: 'PermissionManifestMode', outcome: "Literal['SUCCESS', 'ERROR']", status: 'int', duration_seconds: 'float') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| duration_seconds
|
| mode
|
| outcome
|
| status
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'duration_seconds': 'float', 'mode': 'PermissionMan...
|
| __dataclass_fields__ = {'duration_seconds': Field(name='duration_secon...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('mode', 'outcome', 'status', 'duration_seconds')
class PermissionManifestResult(builtins.object)
| PermissionManifestResult(mode: 'PermissionManifestMode', manifest_id: 'str', revision: 'str', fingerprint: 'str', applied: 'bool', results: 'tuple[PermissionManifestItem, ...]', drift: 'tuple[PermissionManifestDrift, ...]', counts: 'PermissionManifestCounts') -> None
|
| PermissionManifestResult(mode: 'PermissionManifestMode', manifest_id: 'str', revision: 'str', fingerprint: 'str', applied: 'bool', results: 'tuple[PermissionManifestItem, ...]', drift: 'tuple[PermissionManifestDrift, ...]', counts: 'PermissionManifestCounts')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, mode: 'PermissionManifestMode', manifest_id: 'str', revision: 'str', fingerprint: 'str', applied: 'bool', results: 'tuple[PermissionManifestItem, ...]', drift: 'tuple[PermissionManifestDrift, ...]', counts: 'PermissionManifestCounts') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| applied
|
| counts
|
| drift
|
| fingerprint
|
| manifest_id
|
| mode
|
| results
|
| revision
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'applied': 'bool', 'counts': 'PermissionManifestCou...
|
| __dataclass_fields__ = {'applied': Field(name='applied',type='bool',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('mode', 'manifest_id', 'revision', 'fingerprint', 'a...
class PermissionManifestStartupOptions(builtins.object)
| PermissionManifestStartupOptions(mode: 'PermissionManifestStartupMode' = 'DISABLED', failure_policy: 'PermissionManifestFailurePolicy | None' = None, idempotency_key: 'str | None' = None, on_continue_error: 'Callable[[PermissionManifestContinueEvent], None] | None' = None) -> None
|
| PermissionManifestStartupOptions(mode: 'PermissionManifestStartupMode' = 'DISABLED', failure_policy: 'PermissionManifestFailurePolicy | None' = None, idempotency_key: 'str | None' = None, on_continue_error: 'Callable[[PermissionManifestContinueEvent], None] | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, mode: 'PermissionManifestStartupMode' = 'DISABLED', failure_policy: 'PermissionManifestFailurePolicy | None' = None, idempotency_key: 'str | None' = None, on_continue_error: 'Callable[[PermissionManifestContinueEvent], None] | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| failure_policy
|
| idempotency_key
|
| mode
|
| on_continue_error
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'failure_policy': 'PermissionManifestFailurePolicy ...
|
| __dataclass_fields__ = {'failure_policy': Field(name='failure_policy',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('mode', 'failure_policy', 'idempotency_key', 'on_con...
class PermissionManifestStartupResult(builtins.object)
| PermissionManifestStartupResult(network_attempted: 'bool', continued: 'bool', result: 'PermissionManifestResult | None') -> None
|
| PermissionManifestStartupResult(network_attempted: 'bool', continued: 'bool', result: 'PermissionManifestResult | None')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, network_attempted: 'bool', continued: 'bool', result: 'PermissionManifestResult | None') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| continued
|
| network_attempted
|
| result
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'continued': 'bool', 'network_attempted': 'bool', '...
|
| __dataclass_fields__ = {'continued': Field(name='continued',type='bool...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('network_attempted', 'continued', 'result')
class PermissionPage(builtins.object)
| PermissionPage(content: 'tuple[Permission, ...]', page: 'AuthorizationPageMetadata') -> None
|
| PermissionPage(content: 'tuple[Permission, ...]', page: 'AuthorizationPageMetadata')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[Permission, ...]', page: 'AuthorizationPageMetadata') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[Permission, ...]', 'page': 'Autho...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Pe...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page')
class PortalOpenApiClient(builtins.object)
| PortalOpenApiClient(config: 'PortalOpenApiConfig', *, http_client: 'httpx.AsyncClient | None' = None) -> 'None'
|
| Server-side M2M client for iam-portal ``/open/v1/**``.
|
| The client requests ``client_credentials`` machine tokens from iam-server
| with explicit ``portal:openapi:read`` or ``portal:openapi:write`` scope,
| caches read/write tokens separately, and sends only bearer auth to Portal.
|
| Methods defined here:
|
| __init__(self, config: 'PortalOpenApiConfig', *, http_client: 'httpx.AsyncClient | None' = None) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| async cancel_organization_invitation(self, organization_id: 'str', invitation_id: 'str') -> 'None'
|
| clear_token_cache(self, scope: 'str | None' = None) -> 'None'
| Clear cached read/write tokens, or only one scope when provided.
|
| async close(self) -> 'None'
| Close the underlying HTTP client when owned by this SDK.
|
| async create_organization(self, request: 'CreateOrganizationRequest', *, idempotency_key: 'str | None' = None) -> 'Organization'
|
| async create_organization_invitation(self, organization_id: 'str', request: 'CreateOrganizationInvitationRequest', *, idempotency_key: 'str | None' = None) -> 'OrganizationInvitation'
|
| async create_permission(self, request: 'CreatePermissionRequest', *, idempotency_key: 'str | None' = None) -> 'Permission'
|
| async create_registration_grant(self, request: 'CreateRegistrationGrantRequest', *, idempotency_key: 'str') -> 'CreatedRegistrationGrant'
|
| async create_role(self, request: 'CreateRoleRequest', *, idempotency_key: 'str | None' = None) -> 'Role'
|
| async create_user_role(self, user_id: 'str', request: 'CreateUserRoleRequest', *, idempotency_key: 'str | None' = None) -> 'UserRoleAssignment'
|
| async delete_organization(self, organization_id: 'str', *, if_match: 'str | None' = None) -> 'None'
|
| async delete_permission(self, permission_id: 'str', *, if_match: 'str') -> 'None'
|
| async delete_role(self, role_id: 'str', *, if_match: 'str') -> 'None'
|
| async delete_user_role(self, user_id: 'str', assignment_id: 'str', *, if_match: 'str') -> 'None'
|
| async deliver_registration_grant(self, grant_id: 'str', request: 'RegistrationGrantDeliveryRequest', *, idempotency_key: 'str') -> 'RegistrationGrantDelivery'
|
| async get_machine_token(self, scope: 'str') -> 'PortalOpenApiMachineToken'
| Return a cached or freshly requested machine token for an explicit scope.
|
| async get_organization(self, organization_id: 'str') -> 'Organization'
|
| async get_organization_invitation(self, organization_id: 'str', invitation_id: 'str') -> 'OrganizationInvitation'
|
| async get_organization_member(self, organization_id: 'str', membership_id: 'str') -> 'OrganizationMember'
|
| async get_permission(self, permission_id: 'str') -> 'Permission'
|
| async get_registration_grant(self, grant_id: 'str') -> 'RegistrationGrant'
|
| async get_registration_grant_delivery(self, grant_id: 'str', delivery_id: 'str') -> 'RegistrationGrantDelivery'
|
| async get_role(self, role_id: 'str') -> 'Role'
|
| async list_organization_invitations(self, organization_id: 'str', options: 'OrganizationInvitationListOptions | None' = None) -> 'OrganizationInvitationPage'
|
| async list_organization_members(self, organization_id: 'str', options: 'OrganizationMemberListOptions | None' = None) -> 'OrganizationMemberPage'
|
| async list_organizations(self, options: 'OrganizationListOptions | None' = None) -> 'OrganizationPage'
|
| async list_permissions(self, options: 'AuthorizationPageOptions | None' = None) -> 'PermissionPage'
|
| async list_registration_grant_redemptions(self, grant_id: 'str', *, page: 'int | None' = None, size: 'int | None' = None) -> 'RegistrationGrantRedemptionPage'
|
| async list_registration_grants(self, options: 'RegistrationGrantListOptions | None' = None) -> 'RegistrationGrantPage'
|
| async list_role_permissions(self, role_id: 'str', options: 'AuthorizationPageOptions | None' = None) -> 'RolePermissionBindingPage'
|
| async list_roles(self, options: 'AuthorizationPageOptions | None' = None) -> 'RolePage'
|
| async list_user_roles(self, user_id: 'str', options: 'AuthorizationPageOptions | None' = None) -> 'UserRoleAssignmentPage'
|
| async pause_registration_grant(self, grant_id: 'str') -> 'RegistrationGrant'
|
| async remove_organization_member(self, organization_id: 'str', membership_id: 'str') -> 'None'
|
| async replace_role_permissions(self, role_id: 'str', permission_ids: 'tuple[str, ...]', *, if_match: 'str') -> 'RolePermissionSet'
|
| async request_json(self, method: 'str', path: 'str', *, json: 'object' = None, headers: 'Mapping[str, str] | None' = None) -> 'dict[str, Any] | list[Any] | str | int | float | bool | None'
| Call a Portal ``/open/v1/**`` endpoint with a bearer machine token.
|
| async resend_organization_invitation(self, organization_id: 'str', invitation_id: 'str') -> 'OrganizationInvitation'
|
| async resume_registration_grant(self, grant_id: 'str') -> 'RegistrationGrant'
|
| async revoke_registration_grant(self, grant_id: 'str', reason: 'str | None' = None) -> 'RegistrationGrant'
|
| async rotate_registration_grant(self, grant_id: 'str', expected_version: 'int', *, idempotency_key: 'str') -> 'CreatedRegistrationGrant'
|
| async update_organization(self, organization_id: 'str', request: 'UpdateOrganizationRequest', *, if_match: 'str | None' = None) -> 'Organization'
|
| async update_organization_member_role(self, organization_id: 'str', membership_id: 'str', role: 'OrganizationMemberRole', *, if_match: 'str | None' = None) -> 'OrganizationMember'
|
| async update_permission(self, permission_id: 'str', request: 'UpdatePermissionRequest', *, if_match: 'str') -> 'Permission'
|
| async update_role(self, role_id: 'str', request: 'UpdateRoleRequest', *, if_match: 'str') -> 'Role'
|
| async update_user_role(self, user_id: 'str', assignment_id: 'str', condition: 'UserRoleCondition | None', *, if_match: 'str') -> 'UserRoleAssignment'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __dict__
| dictionary for instance variables
|
| __weakref__
| list of weak references to the object
class PortalOpenApiConfig(builtins.object)
| PortalOpenApiConfig(issuer: 'str', portal_endpoint: 'str', client_id: 'str', client_secret: 'str', timeout: 'float' = 5.0, token_skew_seconds: 'float' = 30.0) -> None
|
| Configuration for :class:`axis_vertex.PortalOpenApiClient`.
|
| ``client_id`` and ``client_secret`` must be an M2M confidential
| ApplicationClient allowed to receive explicit Portal Open API scopes.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, issuer: 'str', portal_endpoint: 'str', client_id: 'str', client_secret: 'str', timeout: 'float' = 5.0, token_skew_seconds: 'float' = 30.0) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __post_init__(self) -> 'None'
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| client_id
|
| client_secret
|
| issuer
|
| portal_endpoint
|
| timeout
|
| token_skew_seconds
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'client_id': 'str', 'client_secret': 'str', 'issuer...
|
| __dataclass_fields__ = {'client_id': Field(name='client_id',type='str'...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('issuer', 'portal_endpoint', 'client_id', 'client_se...
class PortalOpenApiConfigError(IamConfigError)
| Raised when Portal Open API client configuration is invalid.
|
| Method resolution order:
| PortalOpenApiConfigError
| IamConfigError
| IamSdkError
| builtins.ValueError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.ValueError:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.ValueError:
|
| __new__(*args, **kwargs) class method of builtins.ValueError
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class PortalOpenApiError(IamSdkError)
| PortalOpenApiError(message: 'str', status_code: 'int', code: 'str', *, body: 'object' = None, retry_after: 'str | None' = None) -> 'None'
|
| Raised when a Portal Open API request fails.
|
| Method resolution order:
| PortalOpenApiError
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, message: 'str', status_code: 'int', code: 'str', *, body: 'object' = None, retry_after: 'str | None' = None) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class PortalOpenApiMachineToken(builtins.object)
| PortalOpenApiMachineToken(access_token: 'str', scope: 'PortalOpenApiScope', expires_at: 'float') -> None
|
| Cached M2M token returned by :meth:`PortalOpenApiClient.get_machine_token`.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, access_token: 'str', scope: 'PortalOpenApiScope', expires_at: 'float') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| access_token
|
| expires_at
|
| scope
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'access_token': 'str', 'expires_at': 'float', 'scop...
|
| __dataclass_fields__ = {'access_token': Field(name='access_token',type...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('access_token', 'scope', 'expires_at')
class PortalOpenApiTokenError(IamSdkError)
| PortalOpenApiTokenError(message: 'str', code: 'str', *, status_code: 'int | None' = None, body: 'object' = None) -> 'None'
|
| Raised when the M2M machine token request fails or returns an invalid body.
|
| Method resolution order:
| PortalOpenApiTokenError
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Methods defined here:
|
| __init__(self, message: 'str', code: 'str', *, status_code: 'int | None' = None, body: 'object' = None) -> 'None'
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class PortalOpenApiTransportError(IamSdkError)
| Raised when a token or Portal Open API request cannot be transported.
|
| Method resolution order:
| PortalOpenApiTransportError
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class PreparedPermissionManifest(builtins.object)
| PreparedPermissionManifest(mode: 'PermissionManifestMode', manifest_id: 'str', revision: 'str', fingerprint: 'str', permissions: 'tuple[PermissionManifestDeclaration, ...]') -> None
|
| PreparedPermissionManifest(mode: 'PermissionManifestMode', manifest_id: 'str', revision: 'str', fingerprint: 'str', permissions: 'tuple[PermissionManifestDeclaration, ...]')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, mode: 'PermissionManifestMode', manifest_id: 'str', revision: 'str', fingerprint: 'str', permissions: 'tuple[PermissionManifestDeclaration, ...]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| fingerprint
|
| manifest_id
|
| mode
|
| permissions
|
| revision
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'fingerprint': 'str', 'manifest_id': 'str', 'mode':...
|
| __dataclass_fields__ = {'fingerprint': Field(name='fingerprint',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('mode', 'manifest_id', 'revision', 'fingerprint', 'p...
class ProofMethod(enum.StrEnum)
| ProofMethod(*values)
|
| Method resolution order:
| ProofMethod
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| EMAIL_OTP = <ProofMethod.EMAIL_OTP: 'EMAIL_OTP'>
|
| PASSWORD = <ProofMethod.PASSWORD: 'PASSWORD'>
|
| PROVIDER = <ProofMethod.PROVIDER: 'PROVIDER'>
|
| STEP_UP_PROOF = <ProofMethod.STEP_UP_PROOF: 'STEP_UP_PROOF'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class ProofRequirement(enum.StrEnum)
| ProofRequirement(*values)
|
| Method resolution order:
| ProofRequirement
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| REAUTHENTICATION = <ProofRequirement.REAUTHENTICATION: 'REAUTHENTICATI...
|
| SESSION = <ProofRequirement.SESSION: 'SESSION'>
|
| STEP_UP = <ProofRequirement.STEP_UP: 'STEP_UP'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class ProviderAuthorization(builtins.object)
| ProviderAuthorization(authorization_id: 'str', authorization_url: 'str', expires_at: 'str') -> None
|
| ProviderAuthorization(authorization_id: 'str', authorization_url: 'str', expires_at: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, authorization_id: 'str', authorization_url: 'str', expires_at: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| authorization_id
|
| authorization_url
|
| expires_at
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'authorization_id': 'str', 'authorization_url': 'st...
|
| __dataclass_fields__ = {'authorization_id': Field(name='authorization_...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('authorization_id', 'authorization_url', 'expires_at...
class ProviderExchange(builtins.object)
| ProviderExchange(authorization_id: 'str', code_verifier: 'str') -> None
|
| ProviderExchange(authorization_id: 'str', code_verifier: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, authorization_id: 'str', code_verifier: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| authorization_id
|
| code_verifier
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'authorization_id': 'str', 'code_verifier': 'str'}
|
| __dataclass_fields__ = {'authorization_id': Field(name='authorization_...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('authorization_id', 'code_verifier')
class ProviderTarget(builtins.object)
| ProviderTarget(provider_id: 'str', reference: 'str', masked_display_name: 'str | None' = None, masked_email: 'str | None' = None) -> None
|
| ProviderTarget(provider_id: 'str', reference: 'str', masked_display_name: 'str | None' = None, masked_email: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, provider_id: 'str', reference: 'str', masked_display_name: 'str | None' = None, masked_email: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| masked_display_name
|
| masked_email
|
| provider_id
|
| reference
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'masked_display_name': 'str | None', 'masked_email'...
|
| __dataclass_fields__ = {'masked_display_name': Field(name='masked_disp...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('provider_id', 'reference', 'masked_display_name', '...
class PublicOrganizationInvitationAcceptResponse(builtins.object)
| PublicOrganizationInvitationAcceptResponse(status: 'str', continuation: 'str | None', application_id: 'str', organization_id: 'str', organization_name: 'str', role: 'str | None', accepted_at: 'str | None') -> None
|
| Organization invitation accept result or login-required continuation.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, status: 'str', continuation: 'str | None', application_id: 'str', organization_id: 'str', organization_name: 'str', role: 'str | None', accepted_at: 'str | None') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'PublicOrganizationInvitationAcceptResponse'
| Parse an invitation accept response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| accepted_at
|
| application_id
|
| continuation
|
| organization_id
|
| organization_name
|
| role
|
| status
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'accepted_at': 'str | None', 'application_id': 'str...
|
| __dataclass_fields__ = {'accepted_at': Field(name='accepted_at',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('status', 'continuation', 'application_id', 'organiz...
class PublicOrganizationInvitationPreview(builtins.object)
| PublicOrganizationInvitationPreview(application_id: 'str', application_name: 'str | None', organization_id: 'str', organization_name: 'str', invitee_email: 'str | None', role: 'str | None', status: 'str | None', expires_at: 'str | None') -> None
|
| Safe public Organization invitation preview.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, application_id: 'str', application_name: 'str | None', organization_id: 'str', organization_name: 'str', invitee_email: 'str | None', role: 'str | None', status: 'str | None', expires_at: 'str | None') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'PublicOrganizationInvitationPreview'
| Parse an invitation preview response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| application_id
|
| application_name
|
| expires_at
|
| invitee_email
|
| organization_id
|
| organization_name
|
| role
|
| status
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'application_id': 'str', 'application_name': 'str |...
|
| __dataclass_fields__ = {'application_id': Field(name='application_id',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('application_id', 'application_name', 'organization_...
class RecoveryCodes(builtins.object)
| RecoveryCodes(codes: 'tuple[str, ...]', count: 'int') -> None
|
| RecoveryCodes(codes: 'tuple[str, ...]', count: 'int')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, codes: 'tuple[str, ...]', count: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| codes
|
| count
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'codes': 'tuple[str, ...]', 'count': 'int'}
|
| __dataclass_fields__ = {'codes': Field(name='codes',type='tuple[str, ....
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('codes', 'count')
class RecoveryCodesRemaining(builtins.object)
| RecoveryCodesRemaining(remaining: 'int') -> None
|
| RecoveryCodesRemaining(remaining: 'int')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, remaining: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| remaining
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'remaining': 'int'}
|
| __dataclass_fields__ = {'remaining': Field(name='remaining',type='int'...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('remaining',)
class RegistrationGrant(builtins.object)
| RegistrationGrant(id: 'str', version: 'int', type: 'RegistrationGrantType', status: 'RegistrationGrantStatus', display_name: 'str | None', allowed_email: 'str | None', allowed_domain: 'str | None', expires_at: 'str | None', max_uses: 'int | None', used_count: 'int', source_type: 'str', created_at: 'str', updated_at: 'str', revoked_at: 'str | None', revoke_reason: 'str | None') -> None
|
| Safe registration-grant detail. Raw proofs are never included.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', version: 'int', type: 'RegistrationGrantType', status: 'RegistrationGrantStatus', display_name: 'str | None', allowed_email: 'str | None', allowed_domain: 'str | None', expires_at: 'str | None', max_uses: 'int | None', used_count: 'int', source_type: 'str', created_at: 'str', updated_at: 'str', revoked_at: 'str | None', revoke_reason: 'str | None') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| allowed_domain
|
| allowed_email
|
| created_at
|
| display_name
|
| expires_at
|
| id
|
| max_uses
|
| revoke_reason
|
| revoked_at
|
| source_type
|
| status
|
| type
|
| updated_at
|
| used_count
|
| version
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'allowed_domain': 'str | None', 'allowed_email': 's...
|
| __dataclass_fields__ = {'allowed_domain': Field(name='allowed_domain',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'version', 'type', 'status', 'display_name', '...
class RegistrationGrantDelivery(builtins.object)
| RegistrationGrantDelivery(id: 'str', grant_id: 'str', recipient: 'str', variant: "Literal['LINK', 'CODE']", status: "Literal['QUEUED', 'SENDING', 'DELIVERED', 'FAILED', 'UNKNOWN']", failure_code: 'str | None', attempt_count: 'int', max_attempts: 'int | None', next_attempt_at: 'str | None', retryable: 'bool', expires_at: 'str', created_at: 'str') -> None
|
| RegistrationGrantDelivery(id: 'str', grant_id: 'str', recipient: 'str', variant: "Literal['LINK', 'CODE']", status: "Literal['QUEUED', 'SENDING', 'DELIVERED', 'FAILED', 'UNKNOWN']", failure_code: 'str | None', attempt_count: 'int', max_attempts: 'int | None', next_attempt_at: 'str | None', retryable: 'bool', expires_at: 'str', created_at: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', grant_id: 'str', recipient: 'str', variant: "Literal['LINK', 'CODE']", status: "Literal['QUEUED', 'SENDING', 'DELIVERED', 'FAILED', 'UNKNOWN']", failure_code: 'str | None', attempt_count: 'int', max_attempts: 'int | None', next_attempt_at: 'str | None', retryable: 'bool', expires_at: 'str', created_at: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| attempt_count
|
| created_at
|
| expires_at
|
| failure_code
|
| grant_id
|
| id
|
| max_attempts
|
| next_attempt_at
|
| recipient
|
| retryable
|
| status
|
| variant
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'attempt_count': 'int', 'created_at': 'str', 'expir...
|
| __dataclass_fields__ = {'attempt_count': Field(name='attempt_count',ty...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'grant_id', 'recipient', 'variant', 'status', ...
class RegistrationGrantDeliveryRequest(builtins.object)
| RegistrationGrantDeliveryRequest(recipient: 'str', variant: "Literal['LINK', 'CODE']", locale: 'str | None' = None) -> None
|
| RegistrationGrantDeliveryRequest(recipient: 'str', variant: "Literal['LINK', 'CODE']", locale: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, recipient: 'str', variant: "Literal['LINK', 'CODE']", locale: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| locale
|
| recipient
|
| variant
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'locale': 'str | None', 'recipient': 'str', 'varian...
|
| __dataclass_fields__ = {'locale': Field(name='locale',type='str | None...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('recipient', 'variant', 'locale')
class RegistrationGrantListOptions(builtins.object)
| RegistrationGrantListOptions(type: 'RegistrationGrantType | None' = None, status: 'RegistrationGrantStatus | None' = None, search: 'str | None' = None, page: 'int | None' = None, size: 'int | None' = None) -> None
|
| Optional API filtering and pagination for registration grants.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, type: 'RegistrationGrantType | None' = None, status: 'RegistrationGrantStatus | None' = None, search: 'str | None' = None, page: 'int | None' = None, size: 'int | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| page
|
| search
|
| size
|
| status
|
| type
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'page': 'int | None', 'search': 'str | None', 'size...
|
| __dataclass_fields__ = {'page': Field(name='page',type='int | None',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('type', 'status', 'search', 'page', 'size')
class RegistrationGrantPage(builtins.object)
| RegistrationGrantPage(content: 'tuple[RegistrationGrant, ...]', page: 'RegistrationGrantPageMetadata') -> None
|
| A page of safe registration-grant details.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[RegistrationGrant, ...]', page: 'RegistrationGrantPageMetadata') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[RegistrationGrant, ...]', 'page':...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Re...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page')
class RegistrationGrantPageMetadata(builtins.object)
| RegistrationGrantPageMetadata(size: 'int', number: 'int', total_elements: 'int', total_pages: 'int') -> None
|
| Nested Spring PagedModel metadata.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, size: 'int', number: 'int', total_elements: 'int', total_pages: 'int') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| number
|
| size
|
| total_elements
|
| total_pages
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'number': 'int', 'size': 'int', 'total_elements': '...
|
| __dataclass_fields__ = {'number': Field(name='number',type='int',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('size', 'number', 'total_elements', 'total_pages')
class RegistrationGrantRedemption(builtins.object)
| RegistrationGrantRedemption(id: 'str', result: 'str', email: 'str | None', auth_method: 'str | None', idp_id: 'str | None', client_id: 'str | None', redeemed_at: 'str', failure_reason: 'str | None') -> None
|
| Safe masked registration-grant redemption entry.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', result: 'str', email: 'str | None', auth_method: 'str | None', idp_id: 'str | None', client_id: 'str | None', redeemed_at: 'str', failure_reason: 'str | None') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| auth_method
|
| client_id
|
| email
|
| failure_reason
|
| id
|
| idp_id
|
| redeemed_at
|
| result
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'auth_method': 'str | None', 'client_id': 'str | No...
|
| __dataclass_fields__ = {'auth_method': Field(name='auth_method',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'result', 'email', 'auth_method', 'idp_id', 'c...
class RegistrationGrantRedemptionPage(builtins.object)
| RegistrationGrantRedemptionPage(content: 'tuple[RegistrationGrantRedemption, ...]', page: 'RegistrationGrantPageMetadata') -> None
|
| A page of safe masked registration-grant redemptions.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[RegistrationGrantRedemption, ...]', page: 'RegistrationGrantPageMetadata') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[RegistrationGrantRedemption, ...]...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Re...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page')
class RemoveIdentity(builtins.object)
| RemoveIdentity(identifier_id: 'str', replacement_primary_id: 'str | None' = None) -> None
|
| RemoveIdentity(identifier_id: 'str', replacement_primary_id: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, identifier_id: 'str', replacement_primary_id: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| identifier_id
|
| replacement_primary_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'identifier_id': 'str', 'replacement_primary_id': '...
|
| __dataclass_fields__ = {'identifier_id': Field(name='identifier_id',ty...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('identifier_id', 'replacement_primary_id')
class ReplaceIdentity(builtins.object)
| ReplaceIdentity(identifier_id: 'str', replacement: 'LoginIdentifier', remove_old: 'bool', replacement_primary_id: 'str | None' = None) -> None
|
| ReplaceIdentity(identifier_id: 'str', replacement: 'LoginIdentifier', remove_old: 'bool', replacement_primary_id: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, identifier_id: 'str', replacement: 'LoginIdentifier', remove_old: 'bool', replacement_primary_id: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| identifier_id
|
| remove_old
|
| replacement
|
| replacement_primary_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'identifier_id': 'str', 'remove_old': 'bool', 'repl...
|
| __dataclass_fields__ = {'identifier_id': Field(name='identifier_id',ty...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('identifier_id', 'replacement', 'remove_old', 'repla...
class Role(builtins.object)
| Role(id: 'str', key: 'str', name: 'str', description: 'str | None', system: 'bool', version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '') -> None
|
| Role(id: 'str', key: 'str', name: 'str', description: 'str | None', system: 'bool', version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', key: 'str', name: 'str', description: 'str | None', system: 'bool', version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| created_at
|
| description
|
| etag
|
| id
|
| key
|
| name
|
| system
|
| updated_at
|
| version
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'created_at': 'str', 'description': 'str | None', '...
|
| __dataclass_fields__ = {'created_at': Field(name='created_at',type='st...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'key', 'name', 'description', 'system', 'versi...
class RolePage(builtins.object)
| RolePage(content: 'tuple[Role, ...]', page: 'AuthorizationPageMetadata') -> None
|
| RolePage(content: 'tuple[Role, ...]', page: 'AuthorizationPageMetadata')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[Role, ...]', page: 'AuthorizationPageMetadata') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[Role, ...]', 'page': 'Authorizati...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Ro...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page')
class RolePermissionBinding(builtins.object)
| RolePermissionBinding(role_id: 'str', permission_id: 'str', created_at: 'str') -> None
|
| RolePermissionBinding(role_id: 'str', permission_id: 'str', created_at: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, role_id: 'str', permission_id: 'str', created_at: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| created_at
|
| permission_id
|
| role_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'created_at': 'str', 'permission_id': 'str', 'role_...
|
| __dataclass_fields__ = {'created_at': Field(name='created_at',type='st...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('role_id', 'permission_id', 'created_at')
class RolePermissionBindingPage(builtins.object)
| RolePermissionBindingPage(content: 'tuple[RolePermissionBinding, ...]', page: 'AuthorizationPageMetadata', etag: 'str') -> None
|
| RolePermissionBindingPage(content: 'tuple[RolePermissionBinding, ...]', page: 'AuthorizationPageMetadata', etag: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[RolePermissionBinding, ...]', page: 'AuthorizationPageMetadata', etag: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| etag
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[RolePermissionBinding, ...]', 'et...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Ro...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page', 'etag')
class RolePermissionSet(builtins.object)
| RolePermissionSet(role_id: 'str', permission_ids: 'tuple[str, ...]', version: 'int', etag: 'str') -> None
|
| RolePermissionSet(role_id: 'str', permission_ids: 'tuple[str, ...]', version: 'int', etag: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, role_id: 'str', permission_ids: 'tuple[str, ...]', version: 'int', etag: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| etag
|
| permission_ids
|
| role_id
|
| version
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'etag': 'str', 'permission_ids': 'tuple[str, ...]',...
|
| __dataclass_fields__ = {'etag': Field(name='etag',type='str',default=<...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('role_id', 'permission_ids', 'version', 'etag')
class SensitiveDelivery(enum.StrEnum)
| SensitiveDelivery(*values)
|
| Method resolution order:
| SensitiveDelivery
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| ALREADY_DELIVERED = <SensitiveDelivery.ALREADY_DELIVERED: 'ALREADY_DEL...
|
| AVAILABLE = <SensitiveDelivery.AVAILABLE: 'AVAILABLE'>
|
| NOT_APPLICABLE = <SensitiveDelivery.NOT_APPLICABLE: 'NOT_APPLICABLE'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class SessionImpact(enum.StrEnum)
| SessionImpact(*values)
|
| Method resolution order:
| SessionImpact
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| CURRENT_SESSION_RETAINED = <SessionImpact.CURRENT_SESSION_RETAINED: 'C...
|
| REAUTHENTICATE = <SessionImpact.REAUTHENTICATE: 'REAUTHENTICATE'>
|
| UNCHANGED = <SessionImpact.UNCHANGED: 'UNCHANGED'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class SessionView(builtins.object)
| SessionView(session_id: 'str', ip_address: 'str | None', user_agent: 'str | None', device_id: 'str | None', created_at: 'str | None', last_seen_at: 'str | None', current: 'bool') -> None
|
| Current-user session/device view.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, session_id: 'str', ip_address: 'str | None', user_agent: 'str | None', device_id: 'str | None', created_at: 'str | None', last_seen_at: 'str | None', current: 'bool') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'SessionView'
| Parse a session view response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| created_at
|
| current
|
| device_id
|
| ip_address
|
| last_seen_at
|
| session_id
|
| user_agent
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'created_at': 'str | None', 'current': 'bool', 'dev...
|
| __dataclass_fields__ = {'created_at': Field(name='created_at',type='st...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('session_id', 'ip_address', 'user_agent', 'device_id...
class SetPrimaryIdentity(builtins.object)
| SetPrimaryIdentity(identifier_id: 'str') -> None
|
| SetPrimaryIdentity(identifier_id: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, identifier_id: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| identifier_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'identifier_id': 'str'}
|
| __dataclass_fields__ = {'identifier_id': Field(name='identifier_id',ty...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('identifier_id',)
class StepUpRequiredError(ForbiddenError)
| Raised when a route requires a stronger authentication context.
|
| Method resolution order:
| StepUpRequiredError
| ForbiddenError
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class TargetProofMethod(enum.StrEnum)
| TargetProofMethod(*values)
|
| Method resolution order:
| TargetProofMethod
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| EMAIL_OTP = <TargetProofMethod.EMAIL_OTP: 'EMAIL_OTP'>
|
| PHONE_OTP = <TargetProofMethod.PHONE_OTP: 'PHONE_OTP'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class TotpBeginResult(builtins.object)
| TotpBeginResult(operation: 'MfaOperation', delivery: 'SensitiveDelivery', material: 'TotpMaterial | None' = None) -> None
|
| TotpBeginResult(operation: 'MfaOperation', delivery: 'SensitiveDelivery', material: 'TotpMaterial | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, operation: 'MfaOperation', delivery: 'SensitiveDelivery', material: 'TotpMaterial | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| delivery
|
| material
|
| operation
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'delivery': 'SensitiveDelivery', 'material': 'TotpM...
|
| __dataclass_fields__ = {'delivery': Field(name='delivery',type='Sensit...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('operation', 'delivery', 'material')
class TotpMaterial(builtins.object)
| TotpMaterial(secret: 'str', qr_code_uri: 'str', issuer: 'str') -> None
|
| TotpMaterial(secret: 'str', qr_code_uri: 'str', issuer: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, secret: 'str', qr_code_uri: 'str', issuer: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self) -> 'str'
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| issuer
|
| qr_code_uri
|
| secret
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'issuer': 'str', 'qr_code_uri': 'str', 'secret': 's...
|
| __dataclass_fields__ = {'issuer': Field(name='issuer',type='str',defau...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=False,eq=True,o...
|
| __match_args__ = ('secret', 'qr_code_uri', 'issuer')
class TransferDecision(enum.StrEnum)
| TransferDecision(*values)
|
| Method resolution order:
| TransferDecision
| enum.StrEnum
| builtins.str
| enum.ReprEnum
| enum.Enum
| builtins.object
|
| Methods defined here:
|
| __format__(self, format_spec, /) from builtins.str
| Return a formatted version of the string as described by format_spec.
|
| __new__(cls, value) from enum.Enum
| Create and return a new object. See help(type) for accurate signature.
|
| __str__(self, /) from builtins.str
| Return str(self).
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| ACCEPT = <TransferDecision.ACCEPT: 'ACCEPT'>
|
| REJECT = <TransferDecision.REJECT: 'REJECT'>
|
| ----------------------------------------------------------------------
| Methods inherited from enum.StrEnum:
|
| __repr__(self) from enum.Enum
| Return repr(self).
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.str:
|
| __add__(self, value, /)
| Return self+value.
|
| __contains__(self, key, /)
| Return bool(key in self).
|
| __eq__(self, value, /)
| Return self==value.
|
| __ge__(self, value, /)
| Return self>=value.
|
| __getitem__(self, key, /)
| Return self[key].
|
| __getnewargs__(...)
|
| __gt__(self, value, /)
| Return self>value.
|
| __hash__(self, /)
| Return hash(self).
|
| __iter__(self, /)
| Implement iter(self).
|
| __le__(self, value, /)
| Return self<=value.
|
| __len__(self, /)
| Return len(self).
|
| __lt__(self, value, /)
| Return self<value.
|
| __mod__(self, value, /)
| Return self%value.
|
| __mul__(self, value, /)
| Return self*value.
|
| __ne__(self, value, /)
| Return self!=value.
|
| __rmod__(self, value, /)
| Return value%self.
|
| __rmul__(self, value, /)
| Return value*self.
|
| __sizeof__(self, /)
| Return the size of the string in memory, in bytes.
|
| capitalize(self, /)
| Return a capitalized version of the string.
|
| More specifically, make the first character have upper case and the rest lower
| case.
|
| casefold(self, /)
| Return a version of the string suitable for caseless comparisons.
|
| center(self, width, fillchar=' ', /)
| Return a centered string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| count(...)
| S.count(sub[, start[, end]]) -> int
|
| Return the number of non-overlapping occurrences of substring sub in
| string S[start:end]. Optional arguments start and end are
| interpreted as in slice notation.
|
| encode(self, /, encoding='utf-8', errors='strict')
| Encode the string using the codec registered for encoding.
|
| encoding
| The encoding in which to encode the string.
| errors
| The error handling scheme to use for encoding errors.
| The default is 'strict' meaning that encoding errors raise a
| UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
| 'xmlcharrefreplace' as well as any other name registered with
| codecs.register_error that can handle UnicodeEncodeErrors.
|
| endswith(...)
| S.endswith(suffix[, start[, end]]) -> bool
|
| Return True if S ends with the specified suffix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| suffix can also be a tuple of strings to try.
|
| expandtabs(self, /, tabsize=8)
| Return a copy where all tab characters are expanded using spaces.
|
| If tabsize is not given, a tab size of 8 characters is assumed.
|
| find(...)
| S.find(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| format(...)
| S.format(*args, **kwargs) -> str
|
| Return a formatted version of S, using substitutions from args and kwargs.
| The substitutions are identified by braces ('{' and '}').
|
| format_map(...)
| S.format_map(mapping) -> str
|
| Return a formatted version of S, using substitutions from mapping.
| The substitutions are identified by braces ('{' and '}').
|
| index(...)
| S.index(sub[, start[, end]]) -> int
|
| Return the lowest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| isalnum(self, /)
| Return True if the string is an alpha-numeric string, False otherwise.
|
| A string is alpha-numeric if all characters in the string are alpha-numeric and
| there is at least one character in the string.
|
| isalpha(self, /)
| Return True if the string is an alphabetic string, False otherwise.
|
| A string is alphabetic if all characters in the string are alphabetic and there
| is at least one character in the string.
|
| isascii(self, /)
| Return True if all characters in the string are ASCII, False otherwise.
|
| ASCII characters have code points in the range U+0000-U+007F.
| Empty string is ASCII too.
|
| isdecimal(self, /)
| Return True if the string is a decimal string, False otherwise.
|
| A string is a decimal string if all characters in the string are decimal and
| there is at least one character in the string.
|
| isdigit(self, /)
| Return True if the string is a digit string, False otherwise.
|
| A string is a digit string if all characters in the string are digits and there
| is at least one character in the string.
|
| isidentifier(self, /)
| Return True if the string is a valid Python identifier, False otherwise.
|
| Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
| such as "def" or "class".
|
| islower(self, /)
| Return True if the string is a lowercase string, False otherwise.
|
| A string is lowercase if all cased characters in the string are lowercase and
| there is at least one cased character in the string.
|
| isnumeric(self, /)
| Return True if the string is a numeric string, False otherwise.
|
| A string is numeric if all characters in the string are numeric and there is at
| least one character in the string.
|
| isprintable(self, /)
| Return True if all characters in the string are printable, False otherwise.
|
| A character is printable if repr() may use it in its output.
|
| isspace(self, /)
| Return True if the string is a whitespace string, False otherwise.
|
| A string is whitespace if all characters in the string are whitespace and there
| is at least one character in the string.
|
| istitle(self, /)
| Return True if the string is a title-cased string, False otherwise.
|
| In a title-cased string, upper- and title-case characters may only
| follow uncased characters and lowercase characters only cased ones.
|
| isupper(self, /)
| Return True if the string is an uppercase string, False otherwise.
|
| A string is uppercase if all cased characters in the string are uppercase and
| there is at least one cased character in the string.
|
| join(self, iterable, /)
| Concatenate any number of strings.
|
| The string whose method is called is inserted in between each given string.
| The result is returned as a new string.
|
| Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
|
| ljust(self, width, fillchar=' ', /)
| Return a left-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| lower(self, /)
| Return a copy of the string converted to lowercase.
|
| lstrip(self, chars=None, /)
| Return a copy of the string with leading whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| partition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string. If the separator is found,
| returns a 3-tuple containing the part before the separator, the separator
| itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing the original string
| and two empty strings.
|
| removeprefix(self, prefix, /)
| Return a str with the given prefix string removed if present.
|
| If the string starts with the prefix string, return string[len(prefix):].
| Otherwise, return a copy of the original string.
|
| removesuffix(self, suffix, /)
| Return a str with the given suffix string removed if present.
|
| If the string ends with the suffix string and that suffix is not empty,
| return string[:-len(suffix)]. Otherwise, return a copy of the original
| string.
|
| replace(self, old, new, count=-1, /)
| Return a copy with all occurrences of substring old replaced by new.
|
| count
| Maximum number of occurrences to replace.
| -1 (the default value) means replace all occurrences.
|
| If the optional argument count is given, only the first count occurrences are
| replaced.
|
| rfind(...)
| S.rfind(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Return -1 on failure.
|
| rindex(...)
| S.rindex(sub[, start[, end]]) -> int
|
| Return the highest index in S where substring sub is found,
| such that sub is contained within S[start:end]. Optional
| arguments start and end are interpreted as in slice notation.
|
| Raises ValueError when the substring is not found.
|
| rjust(self, width, fillchar=' ', /)
| Return a right-justified string of length width.
|
| Padding is done using the specified fill character (default is a space).
|
| rpartition(self, sep, /)
| Partition the string into three parts using the given separator.
|
| This will search for the separator in the string, starting at the end. If
| the separator is found, returns a 3-tuple containing the part before the
| separator, the separator itself, and the part after it.
|
| If the separator is not found, returns a 3-tuple containing two empty strings
| and the original string.
|
| rsplit(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the end of the string and works to the front.
|
| rstrip(self, chars=None, /)
| Return a copy of the string with trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| split(self, /, sep=None, maxsplit=-1)
| Return a list of the substrings in the string, using sep as the separator string.
|
| sep
| The separator used to split the string.
|
| When set to None (the default value), will split on any whitespace
| character (including \n \r \t \f and spaces) and will discard
| empty strings from the result.
| maxsplit
| Maximum number of splits.
| -1 (the default value) means no limit.
|
| Splitting starts at the front of the string and works to the end.
|
| Note, str.split() is mainly useful for data that has been intentionally
| delimited. With natural text that includes punctuation, consider using
| the regular expression module.
|
| splitlines(self, /, keepends=False)
| Return a list of the lines in the string, breaking at line boundaries.
|
| Line breaks are not included in the resulting list unless keepends is given and
| true.
|
| startswith(...)
| S.startswith(prefix[, start[, end]]) -> bool
|
| Return True if S starts with the specified prefix, False otherwise.
| With optional start, test S beginning at that position.
| With optional end, stop comparing S at that position.
| prefix can also be a tuple of strings to try.
|
| strip(self, chars=None, /)
| Return a copy of the string with leading and trailing whitespace removed.
|
| If chars is given and not None, remove characters in chars instead.
|
| swapcase(self, /)
| Convert uppercase characters to lowercase and lowercase characters to uppercase.
|
| title(self, /)
| Return a version of the string where each word is titlecased.
|
| More specifically, words start with uppercased characters and all remaining
| cased characters have lower case.
|
| translate(self, table, /)
| Replace each character in the string using the given translation table.
|
| table
| Translation table, which must be a mapping of Unicode ordinals to
| Unicode ordinals, strings, or None.
|
| The table must implement lookup/indexing via __getitem__, for instance a
| dictionary or list. If this operation raises LookupError, the character is
| left untouched. Characters mapped to None are deleted.
|
| upper(self, /)
| Return a copy of the string converted to uppercase.
|
| zfill(self, width, /)
| Pad a numeric string with zeros on the left, to fill a field of the given width.
|
| The string is never truncated.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.str:
|
| maketrans(...)
| Return a translation table usable for str.translate().
|
| If there is only one argument, it must be a dictionary mapping Unicode
| ordinals (integers) or characters to Unicode ordinals, strings or None.
| Character keys will be then converted to ordinals.
| If there are two arguments, they must be strings of equal length, and
| in the resulting dictionary, each character in x will be mapped to the
| character at the same position in y. If there is a third argument, it
| must be a string, whose characters will be mapped to None in the result.
|
| ----------------------------------------------------------------------
| Methods inherited from enum.Enum:
|
| __dir__(self)
| Returns public methods and other interesting attributes.
|
| __init__(self, *args, **kwds)
| Initialize self. See help(type(self)) for accurate signature.
|
| __reduce_ex__(self, proto)
| Helper for pickle.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from enum.Enum:
|
| name
| The name of the Enum member.
|
| value
| The value of the Enum member.
|
| ----------------------------------------------------------------------
| Readonly properties inherited from enum.EnumType:
|
| __members__
| Returns a mapping of member name->value.
|
| This mapping lists all enum members, including aliases. Note that this
| is a read-only view of the internal mapping.
class TransferIdentity(builtins.object)
| TransferIdentity(identifier_id: 'str', target_user_id: 'str', source_replacement_primary_id: 'str | None' = None) -> None
|
| TransferIdentity(identifier_id: 'str', target_user_id: 'str', source_replacement_primary_id: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, identifier_id: 'str', target_user_id: 'str', source_replacement_primary_id: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| identifier_id
|
| source_replacement_primary_id
|
| target_user_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'identifier_id': 'str', 'source_replacement_primary...
|
| __dataclass_fields__ = {'identifier_id': Field(name='identifier_id',ty...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('identifier_id', 'target_user_id', 'source_replaceme...
class UnauthorizedError(IamSdkError)
| Raised when a bearer token is missing, malformed, expired, or invalid.
|
| Method resolution order:
| UnauthorizedError
| IamSdkError
| builtins.Exception
| builtins.BaseException
| builtins.object
|
| Data descriptors inherited from IamSdkError:
|
| __weakref__
| list of weak references to the object
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.Exception:
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| ----------------------------------------------------------------------
| Static methods inherited from builtins.Exception:
|
| __new__(*args, **kwargs) class method of builtins.Exception
| Create and return a new object. See help(type) for accurate signature.
|
| ----------------------------------------------------------------------
| Methods inherited from builtins.BaseException:
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __reduce__(...)
| Helper for pickle.
|
| __repr__(self, /)
| Return repr(self).
|
| __setstate__(...)
|
| __str__(self, /)
| Return str(self).
|
| add_note(...)
| Exception.add_note(note) --
| add a note to the exception
|
| with_traceback(...)
| Exception.with_traceback(tb) --
| set self.__traceback__ to tb and return self.
|
| ----------------------------------------------------------------------
| Data descriptors inherited from builtins.BaseException:
|
| __cause__
| exception cause
|
| __context__
| exception context
|
| __dict__
|
| __suppress_context__
|
| __traceback__
|
| args
class UnlinkIdentity(builtins.object)
| UnlinkIdentity(method_id: 'str') -> None
|
| UnlinkIdentity(method_id: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, method_id: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| method_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'method_id': 'str'}
|
| __dataclass_fields__ = {'method_id': Field(name='method_id',type='str'...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('method_id',)
class UpdateOrganizationRequest(builtins.object)
| UpdateOrganizationRequest(name: 'str | None' = None, slug: 'str | None' = None) -> None
|
| Strict Organization PATCH payload; at least one non-null field is required.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, name: 'str | None' = None, slug: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, str]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| name
|
| slug
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'name': 'str | None', 'slug': 'str | None'}
|
| __dataclass_fields__ = {'name': Field(name='name',type='str | None',de...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('name', 'slug')
class UpdatePermissionRequest(builtins.object)
| UpdatePermissionRequest(name: 'str | None' = None, description: 'str | None' = None) -> None
|
| UpdatePermissionRequest(name: 'str | None' = None, description: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, name: 'str | None' = None, description: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| description
|
| name
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'description': 'str | None', 'name': 'str | None'}
|
| __dataclass_fields__ = {'description': Field(name='description',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('name', 'description')
class UpdateRoleRequest(builtins.object)
| UpdateRoleRequest(key: 'str | None' = None, name: 'str | None' = None, description: 'str | None' = None) -> None
|
| UpdateRoleRequest(key: 'str | None' = None, name: 'str | None' = None, description: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, key: 'str | None' = None, name: 'str | None' = None, description: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| description
|
| key
|
| name
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'description': 'str | None', 'key': 'str | None', '...
|
| __dataclass_fields__ = {'description': Field(name='description',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('key', 'name', 'description')
class UserProfile(builtins.object)
| UserProfile(user_id: 'str', application_id: 'str | None', global_identity_id: 'str | None', id: 'str', email: 'str | None', email_verified: 'bool', username: 'str | None', display_name: 'str | None', avatar_url: 'str | None', status: 'str | None', created_at: 'str | None', updated_at: 'str | None', current_organization: 'AccountOrganization | None', roles: 'tuple[str, ...]', metadata: 'Mapping[str, Any]') -> None
|
| Current-user profile returned by IAM.
|
| ``metadata`` is profile metadata for display/profile reads. It is not App
| User authorization attributes and must not be used as an authorization
| source.
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, user_id: 'str', application_id: 'str | None', global_identity_id: 'str | None', id: 'str', email: 'str | None', email_verified: 'bool', username: 'str | None', display_name: 'str | None', avatar_url: 'str | None', status: 'str | None', created_at: 'str | None', updated_at: 'str | None', current_organization: 'AccountOrganization | None', roles: 'tuple[str, ...]', metadata: 'Mapping[str, Any]') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Class methods defined here:
|
| from_mapping(data: 'Mapping[str, Any]') -> 'UserProfile'
| Parse a profile response.
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| application_id
|
| avatar_url
|
| created_at
|
| current_organization
|
| display_name
|
| email
|
| email_verified
|
| global_identity_id
|
| id
|
| metadata
|
| roles
|
| status
|
| updated_at
|
| user_id
|
| username
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'application_id': 'str | None', 'avatar_url': 'str ...
|
| __dataclass_fields__ = {'application_id': Field(name='application_id',...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('user_id', 'application_id', 'global_identity_id', '...
class UserRoleAssignment(builtins.object)
| UserRoleAssignment(id: 'str', user_id: 'str', role_id: 'str', organization_id: 'str | None', condition_expression: 'str | None', condition_description: 'str | None', version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '') -> None
|
| UserRoleAssignment(id: 'str', user_id: 'str', role_id: 'str', organization_id: 'str | None', condition_expression: 'str | None', condition_description: 'str | None', version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, id: 'str', user_id: 'str', role_id: 'str', organization_id: 'str | None', condition_expression: 'str | None', condition_description: 'str | None', version: 'int', created_at: 'str', updated_at: 'str', etag: 'str' = '') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| condition_description
|
| condition_expression
|
| created_at
|
| etag
|
| id
|
| organization_id
|
| role_id
|
| updated_at
|
| user_id
|
| version
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'condition_description': 'str | None', 'condition_e...
|
| __dataclass_fields__ = {'condition_description': Field(name='condition...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('id', 'user_id', 'role_id', 'organization_id', 'cond...
class UserRoleAssignmentPage(builtins.object)
| UserRoleAssignmentPage(content: 'tuple[UserRoleAssignment, ...]', page: 'AuthorizationPageMetadata') -> None
|
| UserRoleAssignmentPage(content: 'tuple[UserRoleAssignment, ...]', page: 'AuthorizationPageMetadata')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, content: 'tuple[UserRoleAssignment, ...]', page: 'AuthorizationPageMetadata') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| content
|
| page
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'content': 'tuple[UserRoleAssignment, ...]', 'page'...
|
| __dataclass_fields__ = {'content': Field(name='content',type='tuple[Us...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('content', 'page')
class UserRoleCondition(builtins.object)
| UserRoleCondition(expression: 'str | None' = None, description: 'str | None' = None) -> None
|
| UserRoleCondition(expression: 'str | None' = None, description: 'str | None' = None)
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, expression: 'str | None' = None, description: 'str | None' = None) -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| to_json(self) -> 'dict[str, object]'
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| description
|
| expression
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'description': 'str | None', 'expression': 'str | N...
|
| __dataclass_fields__ = {'description': Field(name='description',type='...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('expression', 'description')
class VerifyIdentity(builtins.object)
| VerifyIdentity(identifier_id: 'str') -> None
|
| VerifyIdentity(identifier_id: 'str')
|
| Methods defined here:
|
| __delattr__(self, name)
| Implement delattr(self, name).
|
| __eq__(self, other)
| Return self==value.
|
| __getstate__ = _dataclass_getstate(self) from dataclasses
| # _dataclass_getstate and _dataclass_setstate are needed for pickling frozen
| # classes with slots. These could be slightly more performant if we generated
| # the code instead of iterating over fields. But that can be a project for
| # another day, if performance becomes an issue.
|
| __hash__(self)
| Return hash(self).
|
| __init__(self, identifier_id: 'str') -> None
| Initialize self. See help(type(self)) for accurate signature.
|
| __repr__(self)
| Return repr(self).
|
| __setattr__(self, name, value)
| Implement setattr(self, name, value).
|
| __setstate__ = _dataclass_setstate(self, state) from dataclasses
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| identifier_id
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __annotations__ = {'identifier_id': 'str'}
|
| __dataclass_fields__ = {'identifier_id': Field(name='identifier_id',ty...
|
| __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
|
| __match_args__ = ('identifier_id',)
FUNCTIONS
generate_permission_constants(manifest: 'PermissionManifest') -> 'str'
Render typed constants without network access or source scanning.
has_all_permissions(targets: 'Sequence[PermissionKey]', permissions: 'Iterable[str]') -> 'bool'
Return whether every target is satisfied; empty target lists deny.
has_any_permission(targets: 'Sequence[PermissionKey]', permissions: 'Iterable[str]') -> 'bool'
Return whether at least one target is satisfied.
has_permission(target: 'PermissionKey', permissions: 'Iterable[str]') -> 'bool'
Return whether any granted permission satisfies ``target``.
load_permission_manifest(path: 'str | Path') -> 'PermissionManifest'
Read an exact structured JSON manifest and reject duplicate members.
match_permission(permissions: 'Iterable[str]', resource: 'str', action: 'str') -> 'bool'
Return whether a permission set contains ``resource:action``.
matches_permission(target: 'PermissionKey', granted: 'str') -> 'bool'
Return whether ``granted`` satisfies ``target``.
Matching is case-sensitive and aligned with Java/Go/JS SDK behavior:
exact, resource action wildcard, and full wildcard. ``*:action`` and
malformed/non-canonical granted strings never match.
parse_permission(value: 'str') -> 'PermissionKey | None'
Parse ``resource:action`` and reject malformed values fail-safe.
permission_constant_name(resource: 'str', action: 'str') -> 'str'
Map a concrete permission key to a stable Python identifier.
permission_declaration_revision(declaration: 'PermissionManifestDeclaration') -> 'str'
prepare_permission_manifest(manifest: 'PermissionManifest', mode: 'PermissionManifestMode') -> 'PreparedPermissionManifest'
async run_permission_manifest_startup(client: 'PermissionManifestClient', manifest: 'PermissionManifest', options: 'PermissionManifestStartupOptions | None' = None) -> 'PermissionManifestStartupResult'
DATA
CreateRegistrationGrantType = typing.Literal['EMAIL_LINK', 'ACCESS_COD...
IdentityPayload = IdentityPayload
ORGANIZATIONS_READ_SCOPE = 'organizations:read'
ORGANIZATIONS_WRITE_SCOPE = 'organizations:write'
ORGANIZATION_INVITATIONS_READ_SCOPE = 'organization_invitations:read'
ORGANIZATION_INVITATIONS_WRITE_SCOPE = 'organization_invitations:write...
ORGANIZATION_MEMBERS_READ_SCOPE = 'organization_members:read'
ORGANIZATION_MEMBERS_WRITE_SCOPE = 'organization_members:write'
OrganizationInvitationDeliveryStatus = typing.Literal['NOT_REQUESTED',...
OrganizationInvitationStatus = typing.Literal['PENDING', 'ACCEPTED', '...
OrganizationMemberRole = typing.Literal['OWNER', 'ADMIN', 'MEMBER']
OrganizationSortDirection = typing.Literal['ASC', 'DESC']
PERMISSIONS_READ_SCOPE = 'permissions:read'
PERMISSIONS_SYNC_SCOPE = 'permissions:sync'
PERMISSIONS_WRITE_SCOPE = 'permissions:write'
PORTAL_OPEN_API_READ_SCOPE = 'portal:openapi:read'
PORTAL_OPEN_API_WRITE_SCOPE = 'portal:openapi:write'
PermissionManifestFailurePolicy = typing.Literal['FAIL_FAST', 'CONTINU...
PermissionManifestStartupMode = typing.Literal['DISABLED', 'CI_VALIDAT...
PortalOpenApiMethod = typing.Literal['GET', 'POST', 'PUT', 'PATCH', 'D...
PortalOpenApiScope = typing.Literal['portal:openapi:read', 'portal:op....
REGISTRATION_GRANTS_READ_SCOPE = 'registration_grants:read'
REGISTRATION_GRANTS_REDEMPTIONS_READ_SCOPE = 'registration_grants:rede...
REGISTRATION_GRANTS_WRITE_SCOPE = 'registration_grants:write'
ROLES_READ_SCOPE = 'roles:read'
ROLES_WRITE_SCOPE = 'roles:write'
ROLE_PERMISSIONS_READ_SCOPE = 'role_permissions:read'
ROLE_PERMISSIONS_WRITE_SCOPE = 'role_permissions:write'
Reauthentication = Reauthentication
RegistrationGrantStatus = typing.Literal['ACTIVE', 'PAUSED', 'REDEEMED...
RegistrationGrantType = typing.Literal['EMAIL_LINK', 'ACCESS_CODE', 'O...
USER_ROLES_READ_SCOPE = 'user_roles:read'
USER_ROLES_WRITE_SCOPE = 'user_roles:write'
__all__ = ['AccountIdentifier', 'AccountIdentifiers', 'AccountLoginMet...