C# 클래스 RedisProviders.RedisMembershipProvider

상속: System.Web.Security.MembershipProvider
파일 보기 프로젝트 열기: kylesonaty/AspNetRedisProviders

공개 메소드들

메소드 설명
ChangePassword ( string username, string oldPassword, string newPassword ) : bool
ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
CreateMembershipUserFromDictionary ( byte[]>.Dictionary dict ) : System.Web.Security.MembershipUser
CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser
CreateUserDictionary ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, System.Guid providerUserKey, System.DateTime createDate ) : byte[]>.Dictionary
DeleteUser ( string username, bool deleteAllRelatedData ) : bool
FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
GetNumberOfUsersOnline ( ) : int
GetPassword ( string username, string answer ) : string
GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUser ( string username, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUserNameByEmail ( string email ) : string
Initialize ( string name, NameValueCollection config ) : void
ResetPassword ( string username, string answer ) : string
UnlockUser ( string username ) : bool
UpdateUser ( System.Web.Security.MembershipUser user ) : void
ValidateUser ( string username, string password ) : bool

비공개 메소드들

메소드 설명
CheckPassword ( string password, string dbpassword ) : bool
EncodePassword ( string password ) : string
GetConfigValue ( string configValue, string defaultValue ) : string
GetConnection ( ) : RedisConnection
GetEmailKey ( string email ) : string
GetProviderKey ( object providerKey ) : string
GetUserKey ( string username ) : string
GetUsersCountKey ( ) : string
GetUsersKey ( ) : string
GetUsersOnlineKey ( ) : string
HexToByte ( string hexString ) : byte[]
OnConnectionError ( object sender, BookSleeve.ErrorEventArgs args ) : void
SetLastActivityDate ( string username, RedisConnection connection ) : void
UnEncodePassword ( string encodedPassword ) : string
UpdateFailureCount ( string username, string failureType ) : void
WriteToEventLog ( Exception ex, string action ) : void

메소드 상세

ChangePassword() 공개 메소드

public ChangePassword ( string username, string oldPassword, string newPassword ) : bool
username string
oldPassword string
newPassword string
리턴 bool

ChangePasswordQuestionAndAnswer() 공개 메소드

public ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
username string
password string
newPasswordQuestion string
newPasswordAnswer string
리턴 bool

CreateMembershipUserFromDictionary() 공개 메소드

public CreateMembershipUserFromDictionary ( byte[]>.Dictionary dict ) : System.Web.Security.MembershipUser
dict byte[]>.Dictionary
리턴 System.Web.Security.MembershipUser

CreateUser() 공개 메소드

public CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser
username string
password string
email string
passwordQuestion string
passwordAnswer string
isApproved bool
providerUserKey object
status MembershipCreateStatus
리턴 System.Web.Security.MembershipUser

CreateUserDictionary() 공개 메소드

public CreateUserDictionary ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, System.Guid providerUserKey, System.DateTime createDate ) : byte[]>.Dictionary
username string
password string
email string
passwordQuestion string
passwordAnswer string
isApproved bool
providerUserKey System.Guid
createDate System.DateTime
리턴 byte[]>.Dictionary

DeleteUser() 공개 메소드

public DeleteUser ( string username, bool deleteAllRelatedData ) : bool
username string
deleteAllRelatedData bool
리턴 bool

FindUsersByEmail() 공개 메소드

public FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
emailToMatch string
pageIndex int
pageSize int
totalRecords int
리턴 System.Web.Security.MembershipUserCollection

FindUsersByName() 공개 메소드

public FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
usernameToMatch string
pageIndex int
pageSize int
totalRecords int
리턴 System.Web.Security.MembershipUserCollection

GetAllUsers() 공개 메소드

public GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
pageIndex int
pageSize int
totalRecords int
리턴 System.Web.Security.MembershipUserCollection

GetNumberOfUsersOnline() 공개 메소드

public GetNumberOfUsersOnline ( ) : int
리턴 int

GetPassword() 공개 메소드

public GetPassword ( string username, string answer ) : string
username string
answer string
리턴 string

GetUser() 공개 메소드

public GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
providerUserKey object
userIsOnline bool
리턴 System.Web.Security.MembershipUser

GetUser() 공개 메소드

public GetUser ( string username, bool userIsOnline ) : System.Web.Security.MembershipUser
username string
userIsOnline bool
리턴 System.Web.Security.MembershipUser

GetUserNameByEmail() 공개 메소드

public GetUserNameByEmail ( string email ) : string
email string
리턴 string

Initialize() 공개 메소드

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
리턴 void

ResetPassword() 공개 메소드

public ResetPassword ( string username, string answer ) : string
username string
answer string
리턴 string

UnlockUser() 공개 메소드

public UnlockUser ( string username ) : bool
username string
리턴 bool

UpdateUser() 공개 메소드

public UpdateUser ( System.Web.Security.MembershipUser user ) : void
user System.Web.Security.MembershipUser
리턴 void

ValidateUser() 공개 메소드

public ValidateUser ( string username, string password ) : bool
username string
password string
리턴 bool