Click or drag to resize
AuthenticationHelper Methods

The AuthenticationHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAuthenticateUser(String, Boolean, Boolean)
Authenticate given user.
Public methodStatic memberAuthenticateUser(String, String, String, Boolean, AuthenticationSourceEnum)
Authenticates user against the database.
Public methodStatic memberAuthenticateUserAD
Authenticates user against the database.
Public methodStatic memberCancelImpersonation
Signs out the impersonated user and switches to the original user.
Public methodStatic memberCheckInvalidPasswordAttempts
Check if logging invalid password attempts is enabled and if so, invalid attempt counter is incremented and if user exceeded maximal number of invalid attempts, her account is locked
Public methodStatic memberCheckPasswordExpiration
Check if user password is expired and optionally according to settings lock expired password account.
Public methodStatic memberDisplayAccountLockInformation
Indicates if additional info about account lock should be displayed
Public methodStatic memberEnsureExternalUser
Ensures that the external user record is present in the database.
Public methodStatic memberExtendAuthenticationCookieExpiration
Sets the authentication cookie expiration
Public methodStatic memberFinalizeAuthenticationProcess
Finalizes the authentication process. Does all the actions that are needed after successful authentication.
Public methodStatic memberForgottenEmailRequest
Tries to find user based on email address and if it finds the user, a password reset link is sent.
Public methodStatic memberGetDomainSamAccountName
Get domain name in NetBiosDomainName\SamAccountName
Public methodStatic memberGetPolicyViolationMessage
Returns a message that the entered password doesn't meet the defined password policy.
Public methodStatic memberGetResetPasswordUrl
Returns URL of page where user can reset his password.
Public methodStatic memberGetUnlockAccountUrl
Returns URL of page where user can unlock her account.
Public methodStatic memberGetUserADRoles
Gets the user roles from AD.
Public methodStatic memberGetUserAuthenticationUrl
Gets authentication URL for automatic sign-in.
Public methodStatic memberGetUserDataFromAuthCookie
Returns an array with userdata from authentication cookie.
Public methodStatic memberGetUserWindowsRoles
Gets the user roles.
Public methodStatic memberHandleAdminEmergencyReset
Handles admin emergency reset
Public methodStatic memberHandleAutomaticSignIn
Check URL query string for authentication token and authenticate user.
Public methodStatic memberImpersonateUser
Impersonates current user.
Public methodStatic memberIsAuthenticated
Returns true if the current user is authenticated.
Public methodStatic memberIsAuthenticationRedirect
Checks whether request is being redirected to a logon page.
Public methodStatic memberIsPasswordExpirationEnabled
Indicates if password expiration is enabled
Public methodStatic memberMaximumInvalidPasswordAttemps
Gets limit of invalid password attempts before user account is locked
Public methodStatic memberRegenerateAuthenticationGuid
Invalidates JSON Web Token by regenerating UserAuthenticationGUID value.
Public methodStatic memberRemoveSessionID
Removes cookie with session ID which enforces ASP.NET to generate new session ID if RenewSessionAuthChange property is set to true.
Public methodStatic memberResetPassword
Resets password for user based on his request.
Public methodStatic memberSendPasswordRequest
Sends e-mail to user for approval request of new password.
Public methodStatic memberSendPasswordResetConfirmation
Sends a confirmation e-mail informing the user about a recent password change.
Public methodStatic memberSendUnlockAccountRequest
Sends e-mail to user to inform her about her account was locked due to reaching maximum invalid logon attempts.
Public methodStatic memberSetAuthCookieWithUserData
Creates authentication cookie of user with specified custom data.
Public methodStatic memberSetWindowsUserCultures
Sets preferred cultures for a windows user
Public methodStatic memberSignOut(String)
Signs the user out.
Public methodStatic memberSignOut(String)
Signs the user out.
Public methodStatic memberUnlockUserAccount
Unlock specified user account
Public methodStatic memberUpdateLastLogonInformation
Updates last logon information of user = last logon time, IP address and agent. Doesn't call SetUserInfo!!
Public methodStatic memberValidateResetPassword
Validates request of password reset.
Top
See Also