C# 클래스 MongoMembership.Providers.MongoMembershipProvider

상속: System.Web.Security.MembershipProvider
파일 보기 프로젝트 열기: FoC-/MongoMembership 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DecodePassword string
EncodePassword string
IsPasswordCorrect bool
ToMembershipUser System.Web.Security.MembershipUser
VerifyPasswordAnswer bool

공개 메소드들

메소드 설명
ChangePassword ( string username, string oldPassword, string newPassword ) : bool
ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser
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 membershipUser ) : void
ValidateUser ( string username, string password ) : bool

비공개 메소드들

메소드 설명
DecodePassword ( string password, MembershipPasswordFormat membershipPasswordFormat ) : string
EncodePassword ( string password, MembershipPasswordFormat membershipPasswordFormat, string salt ) : string
IsPasswordCorrect ( User user, string password ) : bool
ToMembershipUser ( User user ) : System.Web.Security.MembershipUser
VerifyPasswordAnswer ( User user, string passwordAnswer ) : bool

메소드 상세

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

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

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 membershipUser ) : void
membershipUser System.Web.Security.MembershipUser
리턴 void

ValidateUser() 공개 메소드

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