Свойство | Тип | Описание | |
---|---|---|---|
IsAccountLockedOutInternal | bool | ||
IsUserLoggedOn | bool | ||
VerifyProvider |
Метод | Описание | |
---|---|---|
ChangePassword ( string userName, string currentPassword, string newPassword ) : bool | ||
ConfirmAccount ( string accountConfirmationToken ) : bool | ||
CreateAccount ( string userName, string password, string email, bool requireConfirmationToken = false ) : string | ||
GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow = 1440 ) : string | ||
GetCreateDate ( string userName ) : System.DateTime | ||
GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
GetPasswordChangedDate ( string userName ) : System.DateTime | ||
GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
GetUserEmail ( string userName ) : string | ||
GetUserId ( string userName ) : System.Guid | ||
GetUserIdFromPasswordResetToken ( string token ) : System.Guid | ||
IsAccountLockedOut ( string userName, int allowedPasswordAttempts, System.TimeSpan interval ) : bool | ||
IsAccountLockedOut ( string userName, int allowedPasswordAttempts, int intervalInSeconds ) : bool | ||
IsConfirmed ( string userName ) : bool | ||
IsCurrentUser ( string userName ) : bool | ||
IsEmpty ( string value ) : bool | ||
Login ( string userNameOrEmail, string password, bool persistCookie = false ) : bool | ||
Logout ( ) : void | ||
RequireAuthenticatedUser ( ) : void | ||
RequireRoles ( ) : void | ||
RequireUser ( System.Guid userId ) : void | ||
RequireUser ( string userName ) : void | ||
ResetPassword ( string passwordResetToken, string newPassword ) : bool | ||
SetStatus ( this response, HttpStatusCode httpStatusCode ) : void | ||
SetStatus ( this response, int httpStatusCode ) : void | ||
UserExists ( string userName ) : bool |
Метод | Описание | |
---|---|---|
IsAccountLockedOutInternal ( |
||
IsUserLoggedOn ( System.Guid userId ) : bool | ||
VerifyProvider ( ) : |
public static ChangePassword ( string userName, string currentPassword, string newPassword ) : bool | ||
userName | string | |
currentPassword | string | |
newPassword | string | |
Результат | bool |
public static ConfirmAccount ( string accountConfirmationToken ) : bool | ||
accountConfirmationToken | string | |
Результат | bool |
public static CreateAccount ( string userName, string password, string email, bool requireConfirmationToken = false ) : string | ||
userName | string | |
password | string | |
string | ||
requireConfirmationToken | bool | |
Результат | string |
public static GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow = 1440 ) : string | ||
userName | string | |
tokenExpirationInMinutesFromNow | int | |
Результат | string |
public static GetCreateDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public static GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public static GetPasswordChangedDate ( string userName ) : System.DateTime | ||
userName | string | |
Результат | System.DateTime |
public static GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
userName | string | |
Результат | int |
public static GetUserEmail ( string userName ) : string | ||
userName | string | |
Результат | string |
public static GetUserId ( string userName ) : System.Guid | ||
userName | string | |
Результат | System.Guid |
public static GetUserIdFromPasswordResetToken ( string token ) : System.Guid | ||
token | string | |
Результат | System.Guid |
public static IsAccountLockedOut ( string userName, int allowedPasswordAttempts, System.TimeSpan interval ) : bool | ||
userName | string | |
allowedPasswordAttempts | int | |
interval | System.TimeSpan | |
Результат | bool |
public static IsAccountLockedOut ( string userName, int allowedPasswordAttempts, int intervalInSeconds ) : bool | ||
userName | string | |
allowedPasswordAttempts | int | |
intervalInSeconds | int | |
Результат | bool |
public static IsConfirmed ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public static IsCurrentUser ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public static IsEmpty ( string value ) : bool | ||
value | string | |
Результат | bool |
public static Login ( string userNameOrEmail, string password, bool persistCookie = false ) : bool | ||
userNameOrEmail | string | |
password | string | |
persistCookie | bool | |
Результат | bool |
public static RequireAuthenticatedUser ( ) : void | ||
Результат | void |
public static RequireUser ( System.Guid userId ) : void | ||
userId | System.Guid | |
Результат | void |
public static RequireUser ( string userName ) : void | ||
userName | string | |
Результат | void |
public static ResetPassword ( string passwordResetToken, string newPassword ) : bool | ||
passwordResetToken | string | |
newPassword | string | |
Результат | bool |
public static SetStatus ( this response, HttpStatusCode httpStatusCode ) : void | ||
response | this | |
httpStatusCode | HttpStatusCode | |
Результат | void |
public static SetStatus ( this response, int httpStatusCode ) : void | ||
response | this | |
httpStatusCode | int | |
Результат | void |
public static UserExists ( string userName ) : bool | ||
userName | string | |
Результат | bool |