Свойство | Тип | Описание | |
---|---|---|---|
Decrypt2 | System.Web.Security.FormsAuthenticationTicket | ||
HashPasswordForStoringInConfigFile | string | ||
MapUrl | string | ||
Redirect | void | ||
Redirect | void | ||
RedirectToLoginPage | void |
Метод | Описание | |
---|---|---|
Authenticate ( string name, string password ) : bool | ||
Decrypt ( string encryptedTicket ) : System.Web.Security.FormsAuthenticationTicket | ||
EnableFormsAuthentication ( |
||
Encrypt ( System.Web.Security.FormsAuthenticationTicket ticket ) : string | ||
FormsAuthentication ( ) : System.Collections | ||
GetAuthCookie ( string userName, bool createPersistentCookie ) : System.Web.HttpCookie | ||
GetAuthCookie ( string userName, bool createPersistentCookie, string strCookiePath ) : System.Web.HttpCookie | ||
GetRedirectUrl ( string userName, bool createPersistentCookie ) : string | ||
HashPasswordForStoringInConfigFile ( string password, string passwordFormat ) : string | ||
Initialize ( ) : void | ||
RedirectFromLoginPage ( string userName, bool createPersistentCookie ) : void | ||
RedirectFromLoginPage ( string userName, bool createPersistentCookie, string strCookiePath ) : void | ||
RedirectToLoginPage ( ) : void | ||
RenewTicketIfOld ( FormsAuthenticationTicket tOld ) : FormsAuthenticationTicket | ||
SetAuthCookie ( string userName, bool createPersistentCookie ) : void | ||
SetAuthCookie ( string userName, bool createPersistentCookie, string strCookiePath ) : void | ||
SignOut ( ) : void |
Метод | Описание | |
---|---|---|
Decrypt2 ( byte bytes ) : System.Web.Security.FormsAuthenticationTicket | ||
HashPasswordForStoringInConfigFile ( string password, FormsAuthPasswordFormat passwordFormat ) : string | ||
MapUrl ( string url ) : string | ||
Redirect ( string url ) : void | ||
Redirect ( string url, bool end ) : void | ||
RedirectToLoginPage ( string extraQueryString ) : void |
public static Authenticate ( string name, string password ) : bool | ||
name | string | |
password | string | |
Результат | bool |
public static Decrypt ( string encryptedTicket ) : System.Web.Security.FormsAuthenticationTicket | ||
encryptedTicket | string | |
Результат | System.Web.Security.FormsAuthenticationTicket |
public static EnableFormsAuthentication ( |
||
configurationData | ||
Результат | void |
public static Encrypt ( System.Web.Security.FormsAuthenticationTicket ticket ) : string | ||
ticket | System.Web.Security.FormsAuthenticationTicket | |
Результат | string |
public FormsAuthentication ( ) : System.Collections | ||
Результат | System.Collections |
public static GetAuthCookie ( string userName, bool createPersistentCookie ) : System.Web.HttpCookie | ||
userName | string | |
createPersistentCookie | bool | |
Результат | System.Web.HttpCookie |
public static GetAuthCookie ( string userName, bool createPersistentCookie, string strCookiePath ) : System.Web.HttpCookie | ||
userName | string | |
createPersistentCookie | bool | |
strCookiePath | string | |
Результат | System.Web.HttpCookie |
public static GetRedirectUrl ( string userName, bool createPersistentCookie ) : string | ||
userName | string | |
createPersistentCookie | bool | |
Результат | string |
public static HashPasswordForStoringInConfigFile ( string password, string passwordFormat ) : string | ||
password | string | |
passwordFormat | string | |
Результат | string |
public static RedirectFromLoginPage ( string userName, bool createPersistentCookie ) : void | ||
userName | string | |
createPersistentCookie | bool | |
Результат | void |
public static RedirectFromLoginPage ( string userName, bool createPersistentCookie, string strCookiePath ) : void | ||
userName | string | |
createPersistentCookie | bool | |
strCookiePath | string | |
Результат | void |
public static RedirectToLoginPage ( ) : void | ||
Результат | void |
public static RenewTicketIfOld ( FormsAuthenticationTicket tOld ) : FormsAuthenticationTicket | ||
tOld | FormsAuthenticationTicket | |
Результат | FormsAuthenticationTicket |
public static SetAuthCookie ( string userName, bool createPersistentCookie ) : void | ||
userName | string | |
createPersistentCookie | bool | |
Результат | void |
public static SetAuthCookie ( string userName, bool createPersistentCookie, string strCookiePath ) : void | ||
userName | string | |
createPersistentCookie | bool | |
strCookiePath | string | |
Результат | void |