Click or drag to resize

ApplicationUserManager Class

[Missing <summary> documentation for "T:Cadcorp.Web.Security.ClaimsAware.Identity.Models.ApplicationUserManager"]

Inheritance Hierarchy
SystemObject
  UserManagerApplicationUser, String
    UserManagerApplicationUser
      Cadcorp.Web.Security.ClaimsAware.Identity.ModelsApplicationUserManager

Namespace:  Cadcorp.Web.Security.ClaimsAware.Identity.Models
Assembly:  Cadcorp.Web.Security (in Cadcorp.Web.Security.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public class ApplicationUserManager : UserManager<ApplicationUser>

The ApplicationUserManager type exposes the following members.

Constructors
  NameDescription
Public methodApplicationUserManager
Initializes a new instance of the ApplicationUserManager class
Top
Properties
  NameDescription
Public propertyClaimsIdentityFactory
Used to create claims identities from users
(Inherited from UserManagerApplicationUser, String.)
Public propertyDefaultAccountLockoutTimeSpan
Default amount of time that a user is locked out for after MaxFailedAccessAttemptsBeforeLockout is reached
(Inherited from UserManagerApplicationUser, String.)
Public propertyEmailService
Used to send email
(Inherited from UserManagerApplicationUser, String.)
Public propertyMaxFailedAccessAttemptsBeforeLockout
Number of access attempts allowed before a user is locked out (if lockout is enabled)
(Inherited from UserManagerApplicationUser, String.)
Public propertyMyStore
Public propertyPasswordHasher
Used to hash/verify passwords
(Inherited from UserManagerApplicationUser, String.)
Public propertyPasswordValidator
Used to validate passwords before persisting changes
(Inherited from UserManagerApplicationUser, String.)
Public propertySmsService
Used to send a sms message
(Inherited from UserManagerApplicationUser, String.)
Protected propertyStore
Persistence abstraction that the UserManager operates against
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsQueryableUsers
Returns true if the store is an IQueryableUserStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserClaim
Returns true if the store is an IUserClaimStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserEmail
Returns true if the store is an IUserEmailStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserLockout
Returns true if the store is an IUserLockoutStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserLogin
Returns true if the store is an IUserLoginStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserPassword
Returns true if the store is an IUserPasswordStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserPhoneNumber
Returns true if the store is an IUserPhoneNumberStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserRole
Returns true if the store is an IUserRoleStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserSecurityStamp
Returns true if the store is an IUserSecurityStore
(Inherited from UserManagerApplicationUser, String.)
Public propertySupportsUserTwoFactor
Returns true if the store is an IUserTwoFactorStore
(Inherited from UserManagerApplicationUser, String.)
Public propertyTwoFactorProviders
Maps the registered two-factor authentication providers for users by their id
(Inherited from UserManagerApplicationUser, String.)
Public propertyUserLockoutEnabledByDefault
If true, will enable user lockout when users are created
(Inherited from UserManagerApplicationUser, String.)
Public propertyUsers
Returns an IQueryable of users if the store is an IQueryableUserStore
(Inherited from UserManagerApplicationUser, String.)
Public propertyUserTokenProvider
Used for generating reset password and confirmation tokens
(Inherited from UserManagerApplicationUser, String.)
Public propertyUserValidator
Used to validate users before changes are saved
(Inherited from UserManagerApplicationUser, String.)
Top
Methods
  NameDescription
Public methodAccessFailedAsync
Increments the access failed count for the user and if the failed access account is greater than or equal to the MaxFailedAccessAttempsBeforeLockout, the user will be locked out for the next DefaultAccountLockoutTimeSpan and the AccessFailedCount will be reset to 0. This is used for locking out the user account.
(Inherited from UserManagerApplicationUser, String.)
Public methodAddClaimAsync
Add a user claim
(Inherited from UserManagerApplicationUser, String.)
Public methodAddLoginAsync
Associate a login with a user
(Inherited from UserManagerApplicationUser, String.)
Public methodAddPasswordAsync
Add a user password only if one does not already exist
(Inherited from UserManagerApplicationUser, String.)
Public methodAddToRoleAsync
Add a user to a role
(Inherited from UserManagerApplicationUser, String.)
Public methodAddToRolesAsync
Method to add user to multiple roles
(Inherited from UserManagerApplicationUser, String.)
Public methodChangePasswordAsync
Change a user password
(Inherited from UserManagerApplicationUser, String.)
Public methodChangePhoneNumberAsync
Set a user's phoneNumber with the verification token
(Inherited from UserManagerApplicationUser, String.)
Public methodCheckPasswordAsync
Returns true if the password is valid for the user
(Inherited from UserManagerApplicationUser, String.)
Public methodConfirmEmailAsync
Confirm the user's email with confirmation token
(Inherited from UserManagerApplicationUser, String.)
Public methodStatic memberCreate
Public methodCreateAsync(UTP)
Create a user with no password
(Inherited from UserManagerApplicationUser, String.)
Public methodCreateAsync(UTP, String)
Create a user with the given password
(Inherited from UserManagerApplicationUser, String.)
Public methodCreateIdentityAsync
Creates a ClaimsIdentity representing the user
(Inherited from UserManagerApplicationUser, String.)
Public methodDeleteAsync
Delete a user
(Inherited from UserManagerApplicationUser, String.)
Public methodDispose
Dispose this object
(Inherited from UserManagerApplicationUser, String.)
Protected methodDispose(Boolean)
When disposing, actually dipose the store
(Inherited from UserManagerApplicationUser, String.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindAsync(UserLoginInfo)
Returns the user associated with this login
(Inherited from UserManagerApplicationUser, String.)
Public methodFindAsync(String, String)
Return a user with the specified username and password or null if there is no match.
(Inherited from UserManagerApplicationUser, String.)
Public methodFindByEmailAsync
Find a user by his email
(Inherited from UserManagerApplicationUser, String.)
Public methodFindByIdAsync
Find a user by id
(Inherited from UserManagerApplicationUser, String.)
Public methodFindByNameAsync
Find a user by user name
(Inherited from UserManagerApplicationUser, String.)
Public methodGenerateChangePhoneNumberTokenAsync
Generate a code that the user can use to change their phone number to a specific number
(Inherited from UserManagerApplicationUser, String.)
Public methodGenerateEmailConfirmationTokenAsync
Get the email confirmation token for the user
(Inherited from UserManagerApplicationUser, String.)
Public methodGeneratePasswordResetTokenAsync
Generate a password reset token for the user using the UserTokenProvider
(Inherited from UserManagerApplicationUser, String.)
Public methodGenerateTwoFactorTokenAsync
Get a token for a specific two factor provider
(Inherited from UserManagerApplicationUser, String.)
Public methodGenerateUserTokenAsync
Get a user token for a specific purpose
(Inherited from UserManagerApplicationUser, String.)
Public methodGetAccessFailedCountAsync
Returns the number of failed access attempts for the user
(Inherited from UserManagerApplicationUser, String.)
Public methodGetClaimsAsync
Get a users's claims
(Inherited from UserManagerApplicationUser, String.)
Public methodGetEmailAsync
Get a user's email
(Inherited from UserManagerApplicationUser, String.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLockoutEnabledAsync
Returns whether lockout is enabled for the user
(Inherited from UserManagerApplicationUser, String.)
Public methodGetLockoutEndDateAsync
Returns when the user is no longer locked out, dates in the past are considered as not being locked out
(Inherited from UserManagerApplicationUser, String.)
Public methodGetLoginsAsync
Gets the logins for a user.
(Inherited from UserManagerApplicationUser, String.)
Public methodGetPhoneNumberAsync
Get a user's phoneNumber
(Inherited from UserManagerApplicationUser, String.)
Public methodGetRolesAsync
Returns the roles for the user
(Inherited from UserManagerApplicationUser, String.)
Public methodGetSecurityStampAsync
Returns the current security stamp for a user
(Inherited from UserManagerApplicationUser, String.)
Public methodGetTwoFactorEnabledAsync
Get whether two factor authentication is enabled for a user
(Inherited from UserManagerApplicationUser, String.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValidTwoFactorProvidersAsync
Returns a list of valid two factor providers for a user
(Inherited from UserManagerApplicationUser, String.)
Public methodHasPasswordAsync
Returns true if the user has a password
(Inherited from UserManagerApplicationUser, String.)
Public methodIsEmailConfirmedAsync
Returns true if the user's email has been confirmed
(Inherited from UserManagerApplicationUser, String.)
Public methodIsInRoleAsync
Returns true if the user is in the specified role
(Inherited from UserManagerApplicationUser, String.)
Public methodIsLockedOutAsync
Returns true if the user is locked out
(Inherited from UserManagerApplicationUser, String.)
Public methodIsPhoneNumberConfirmedAsync
Returns true if the user's phone number has been confirmed
(Inherited from UserManagerApplicationUser, String.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNotifyTwoFactorTokenAsync
Notify a user with a token using a specific two-factor authentication provider's Notify method
(Inherited from UserManagerApplicationUser, String.)
Public methodRegisterTwoFactorProvider
Register a two factor authentication provider with the TwoFactorProviders mapping
(Inherited from UserManagerApplicationUser, String.)
Public methodRemoveClaimAsync
Remove a user claim
(Inherited from UserManagerApplicationUser, String.)
Public methodRemoveFromRoleAsync
Remove a user from a role.
(Inherited from UserManagerApplicationUser, String.)
Public methodRemoveFromRolesAsync
Remove user from multiple roles
(Inherited from UserManagerApplicationUser, String.)
Public methodRemoveLoginAsync
Remove a user login
(Inherited from UserManagerApplicationUser, String.)
Public methodRemovePasswordAsync
Remove a user's password
(Inherited from UserManagerApplicationUser, String.)
Public methodResetAccessFailedCountAsync
Resets the access failed count for the user to 0
(Inherited from UserManagerApplicationUser, String.)
Public methodResetPasswordAsync
Reset a user's password using a reset password token
(Inherited from UserManagerApplicationUser, String.)
Public methodSendEmailAsync
Send an email to the user
(Inherited from UserManagerApplicationUser, String.)
Public methodSendSmsAsync
Send a user a sms message
(Inherited from UserManagerApplicationUser, String.)
Public methodSetEmailAsync
Set a user's email
(Inherited from UserManagerApplicationUser, String.)
Public methodSetLockoutEnabledAsync
Sets whether lockout is enabled for this user
(Inherited from UserManagerApplicationUser, String.)
Public methodSetLockoutEndDateAsync
Sets the when a user lockout ends
(Inherited from UserManagerApplicationUser, String.)
Public methodSetPhoneNumberAsync
Set a user's phoneNumber
(Inherited from UserManagerApplicationUser, String.)
Public methodSetTwoFactorEnabledAsync
Set whether a user has two factor authentication enabled
(Inherited from UserManagerApplicationUser, String.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateAsync
Update a user
(Inherited from UserManagerApplicationUser, String.)
Protected methodUpdatePassword (Inherited from UserManagerApplicationUser, String.)
Public methodUpdateSecurityStampAsync
Generate a new security stamp for a user, used for SignOutEverywhere functionality
(Inherited from UserManagerApplicationUser, String.)
Public methodVerifyChangePhoneNumberTokenAsync
Verify the code is valid for a specific user and for a specific phone number
(Inherited from UserManagerApplicationUser, String.)
Protected methodVerifyPasswordAsync
By default, retrieves the hashed password from the user store and calls PasswordHasher.VerifyHashPassword
(Inherited from UserManagerApplicationUser, String.)
Public methodVerifyTwoFactorTokenAsync
Verify a two factor token with the specified provider
(Inherited from UserManagerApplicationUser, String.)
Public methodVerifyUserTokenAsync
Verify a user token with the specified purpose
(Inherited from UserManagerApplicationUser, String.)
Top
See Also