GenericAuthenticationProvider Methods |
The GenericAuthenticationProvider type exposes the following members.
Name | Description | |
---|---|---|
Authenticate(String, Int64) |
The implementing class should authenticate the user using the provided token, create and populate a UserContext object
adding profiles when an item in the profileRoles collection is supported for this user. If the authentication
fails, the implementing class can return a null UserContext object or throw a custom exception.
| |
Authenticate(String, String, NameValueCollection, Int64) |
This class authenticates the user always, regardless of the user or password.
| |
ChangePassword |
Changes the password for the user.
Use ChangeUserPassword(IAppContext, String, String, String) if you need the new password in a form (raw vs. encrypted)
for storing in Password.
| |
ChangeUserPassword |
Changes the password for the user.
Performs the same functionality as ChangePassword(IAppContext, String, String, String) except that it returns
the new password (raw for two-way encryptions, encrypted for one-way encryptions) as
is appropriate for storing in Password.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetText |
Helper method for getting localized error messages.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAuthenticate |
Method that does the actual authentication. Called only by the Authenticate(String, Int64) method
in this class. Note that this implementation (the Generic provider) creates a user context regardless of the password
| |
ResetPassword |
Sets the password to null, sets the ForcePasswordChange attribute on the user
and (optionally) sends the user a way to reset it via email.
| |
Restore |
Restore the user context from a user id. Used when a password is lost and you want to
send the user a new password.
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |