IAzureCosmosDbLogAuthEvent Method
Logs an event caused by a user during an authentication process (login, logout, MFA, forgotten password, etc.)
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task LogAuthEvent(
AccountDto user,
string ipAddress,
EventId userEvent,
IIdLabel impactedObject,
Guid impactedObjectCompanyId,
IIdLabel? snapShotResource = null,
CancellationToken cancellationToken = default
)
- user AccountDto
- User causing the event
- ipAddress String
- IP Address of the user
- userEvent EventId
- Invoked event
- impactedObject IIdLabel
- Object that was impacted by the event (e.g. the newly created object)
- impactedObjectCompanyId Guid
- Company the impactedObject belongs to.
- snapShotResource IIdLabel (Optional)
- Snapshot resource
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskLog creation
Task