IAzureCosmosDbGetIpAddressStatusOfUser Method
Retrieves the status of an IP Address, if available in the database. If we're logging in on a location
that the company the user belongs to never has been at, and if it doesn't appear on the global white/blacklist,
the method will return .
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<IpAddressStatusDto?> GetIpAddressStatusOfUser(
string ipAddress,
AccountDto user,
CancellationToken cancellationToken = default
)
- ipAddress String
- The location the user signs in from.
- user AccountDto
- The user signing in
- cancellationToken CancellationToken (Optional)
- Cancellation Token
TaskIpAddressStatusDtoFound IP Address status (if any)