IUser

Namespace: ASPSecurityKit
Assembly: ASPSecurityKit.dll

Summary

Base interface to represent the user model for the application. Note: use IUser<TId> (which derives from this interface) to implement the user model instead.

Properties

Id

Summary

Gets or sets the user Id.

Name

Summary

Gets or sets the name.

HashedPassword

Summary

Gets or sets the hashed password.

Username

Summary

Gets or sets the username.

Verified

Summary

Gets or sets a value indicating whether the user is verified.

VerificationToken

Summary

Gets or sets the verification token.

PasswordResetToken

Summary

Gets or sets the password reset token.

PasswordResetTokenExpiredAt

Summary

Gets or sets the expiration date and time (in UTC) for the password reset token.

CreatedDate

Summary

Gets or sets the date and time (in UTC) when the user was created.

Suspended

Summary

Gets or sets a value indicating whether the user is suspended.

SuspensionDate

Summary

Gets or sets the date and time (in UTC) when the user was suspended.

SuspensionReason

Summary

Gets or sets the suspension reason.

PasswordBlocked

Summary

Gets or sets a value indicating whether the password is blocked for this user instance.

PasswordBlockedDate

Summary

Gets or sets the date and time (in UTC) when the password was blocked for this user instance.

PasswordBlockedReason

Summary

Gets or sets the password blocked reason.

PasswordExpiredAt

Summary

Gets or sets the date and time (in UTC) when the password was expired or is set to expire.

MFANotRequired

Summary

Gets a value indicating whether the multi-factor authentication is not required for this user instance.

MultiFactor

Summary

Gets the multi-factor details model associated with the user.