Свойство | Type | Description | |
---|---|---|---|
SessionDuration | System.TimeSpan |
Свойство | Type | Description | |
---|---|---|---|
GetFormsAuthTicket | System.Web.Security.FormsAuthenticationTicket | ||
GetUser | EnterpriseWebLibrary.EnterpriseWebFramework.UserManagement.FormsAuthCapableUser | ||
GetUser | EnterpriseWebLibrary.EnterpriseWebFramework.UserManagement.FormsAuthCapableUser | ||
GetUsers | IEnumerable |
||
Init | void | ||
SendPassword | void | ||
UpdateFormsAuthCookieIfNecessary | void | ||
addStatusMessageIfClockNotSynchronized | void | ||
clearFormsAuthCookie | void | ||
setCookie | void | ||
setFormsAuthCookie | void | ||
setFormsAuthCookieAndUser | void | ||
setUpClientSideLogicForLogIn | void | ||
verifyTestCookie | string[] |
Méthode | Description | |
---|---|---|
GetEmailAddressFormItem ( this |
Gets an email address form item for use on log-in pages. The validation sets this data value to the post back value of the text box, if valid, or adds the specified error message to the form item.
|
|
GetLogInMethod ( |
Sets up client-side logic for user log-in and returns a modification method that logs in a user. Do not call if the system does not implement the forms-authentication-capable user-management provider.
|
|
GetSpecifiedUserLogInMethod ( |
Sets up client-side logic for user log-in and returns a modification method that logs in the specified user. Do not call if the system does not implement the forms-authentication-capable user-management provider. This method should be called in LoadData. The method returned should be called in an event handler.
|
|
LogOutUser ( ) : void |
Do not call if the system does not implement the forms authentication capable user management provider.
|
|
ResetAndSendPassword ( int userId ) : void |
Resets the password of the given user and sends a message with the new password to their email address. Do not call if the system does not implement the forms authentication capable user management provider.
|
|
ResetAndSendPassword ( string validatedEmailAddress, string emailAddressErrorMessage ) : void |
Resets the password of the user with the specified email address and sends a message with the new password to their email address. Do not call if the system does not implement the forms authentication capable user management provider.
|
|
UserCredentialsAreCorrect ( string userEmailAddress, string providedPassword ) : bool |
PRE: SystemProvider is a FormsAuthCapableUserManagementProvider. Returns true if the given credentials correspond to a user and are correct.
|
|
ValidatePassword ( Validator validator, DataValue |
Ensures that the specified data values contain identical, valid password values.
|
Méthode | Description | |
---|---|---|
GetFormsAuthTicket ( System.Web.HttpCookie cookie ) : System.Web.Security.FormsAuthenticationTicket | ||
GetUser ( int userId, bool ensureUserExists ) : EnterpriseWebLibrary.EnterpriseWebFramework.UserManagement.FormsAuthCapableUser | ||
GetUser ( string emailAddress ) : EnterpriseWebLibrary.EnterpriseWebFramework.UserManagement.FormsAuthCapableUser | ||
GetUsers ( ) : IEnumerable |
||
Init ( Func |
||
SendPassword ( string emailAddress, string password ) : void | ||
UpdateFormsAuthCookieIfNecessary ( ) : void | ||
addStatusMessageIfClockNotSynchronized ( DataValue |
||
clearFormsAuthCookie ( ) : void | ||
setCookie ( string name, string value ) : void | ||
setFormsAuthCookie ( System.Web.Security.FormsAuthenticationTicket ticket ) : void | ||
setFormsAuthCookieAndUser ( EnterpriseWebLibrary.EnterpriseWebFramework.UserManagement.FormsAuthCapableUser user ) : void | ||
setUpClientSideLogicForLogIn ( |
||
verifyTestCookie ( ) : string[] |
public static GetEmailAddressFormItem ( this |
||
emailAddress | this |
|
label | FormItemLabel | |
errorMessage | string | |
vl | ValidationList | |
Résultat | FormItem |
public static GetLogInMethod ( |
||
etherealControlParent | ||
emailAddress | DataValue |
|
password | DataValue |
|
emailAddressErrorMessage | string | |
passwordErrorMessage | string | |
vl | ValidationList | |
Résultat | Func |
public static GetSpecifiedUserLogInMethod ( |
||
etherealControlParent | ||
vl | ValidationList | |
Résultat | Action |
public static ResetAndSendPassword ( int userId ) : void | ||
userId | int | |
Résultat | void |
public static ResetAndSendPassword ( string validatedEmailAddress, string emailAddressErrorMessage ) : void | ||
validatedEmailAddress | string | |
emailAddressErrorMessage | string | |
Résultat | void |
public static UserCredentialsAreCorrect ( string userEmailAddress, string providedPassword ) : bool | ||
userEmailAddress | string | |
providedPassword | string | |
Résultat | bool |
public static ValidatePassword ( Validator validator, DataValue |
||
validator | Validator | |
password | DataValue |
|
passwordAgain | DataValue |
|
Résultat | void |