Session¶
Structure Class¶
Session
dataclass
¶
Contains information about the authenticated session.
Attributes¶
created_time
class-attribute
instance-attribute
¶
created_time: datetime | None = None
The timestamp for when the session was created.
In Amazon Web Services CloudTrail, you can find this value as
userIdentity.sessionContext.attributes.creationDate.
issuer
class-attribute
instance-attribute
¶
issuer: str | None = None
Identifier of the session issuer.
In Amazon Web Services CloudTrail, you can find this value as
userIdentity.sessionContext.sessionIssuer.arn.
mfa_status
class-attribute
instance-attribute
¶
mfa_status: MfaStatus | None = None
Indicates whether or not multi-factor authencation (MFA) was used during authentication.
In Amazon Web Services CloudTrail, you can find this value as
userIdentity.sessionContext.attributes.mfaAuthenticated.
uid
class-attribute
instance-attribute
¶
uid: str | None = None
The unique identifier of the session.