C# 클래스 App.Web.Code.Membership.CustomMembershipProvider

상속: WebMatrix.WebData.ExtendedMembershipProvider
파일 보기 프로젝트 열기: mazhekin/MVC4CustomMembershipSolution

공개 메소드들

메소드 설명
ChangePassword ( string username, string oldPassword, string newPassword ) : bool
ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
ConfirmAccount ( string accountConfirmationToken ) : bool
ConfirmAccount ( string userName, string accountConfirmationToken ) : bool
CreateAccount ( string userName, string password, bool requireConfirmationToken ) : string
CreateOrUpdateOAuthAccount ( string provider, string providerUserId, string userName ) : void
CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, System &status ) : System.Web.Security.MembershipUser
CreateUserAndAccount ( string userName, string password, bool requireConfirmation, object>.IDictionary values ) : string
CustomMembershipProvider ( ) : System
DeleteAccount ( string userName ) : bool
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
GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string
GetAccountsForUser ( string userName ) : ICollection
GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
GetCreateDate ( string userName ) : System.DateTime
GetLastPasswordFailureDate ( string userName ) : System.DateTime
GetNumberOfUsersOnline ( ) : int
GetPassword ( string username, string answer ) : string
GetPasswordChangedDate ( string userName ) : System.DateTime
GetPasswordFailuresSinceLastSuccess ( string userName ) : int
GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUser ( string username, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUserIdFromOAuth ( string provider, string providerUserId ) : int
GetUserIdFromPasswordResetToken ( string token ) : int
GetUserNameByEmail ( string email ) : string
GetUserNameFromId ( int userId ) : string
IsConfirmed ( string userName ) : bool
ResetPassword ( string username, string answer ) : string
ResetPasswordWithToken ( string token, string newPassword ) : bool
UnlockUser ( string userName ) : bool
UpdateUser ( System user ) : void
ValidateUser ( string username, string password ) : 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

ConfirmAccount() 공개 메소드

public ConfirmAccount ( string accountConfirmationToken ) : bool
accountConfirmationToken string
리턴 bool

ConfirmAccount() 공개 메소드

public ConfirmAccount ( string userName, string accountConfirmationToken ) : bool
userName string
accountConfirmationToken string
리턴 bool

CreateAccount() 공개 메소드

public CreateAccount ( string userName, string password, bool requireConfirmationToken ) : string
userName string
password string
requireConfirmationToken bool
리턴 string

CreateOrUpdateOAuthAccount() 공개 메소드

public CreateOrUpdateOAuthAccount ( string provider, string providerUserId, string userName ) : void
provider string
providerUserId string
userName string
리턴 void

CreateUser() 공개 메소드

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

CreateUserAndAccount() 공개 메소드

public CreateUserAndAccount ( string userName, string password, bool requireConfirmation, object>.IDictionary values ) : string
userName string
password string
requireConfirmation bool
values object>.IDictionary
리턴 string

CustomMembershipProvider() 공개 메소드

public CustomMembershipProvider ( ) : System
리턴 System

DeleteAccount() 공개 메소드

public DeleteAccount ( string userName ) : bool
userName string
리턴 bool

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

GeneratePasswordResetToken() 공개 메소드

public GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string
userName string
tokenExpirationInMinutesFromNow int
리턴 string

GetAccountsForUser() 공개 메소드

public GetAccountsForUser ( string userName ) : ICollection
userName string
리턴 ICollection

GetAllUsers() 공개 메소드

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

GetCreateDate() 공개 메소드

public GetCreateDate ( string userName ) : System.DateTime
userName string
리턴 System.DateTime

GetLastPasswordFailureDate() 공개 메소드

public GetLastPasswordFailureDate ( string userName ) : System.DateTime
userName string
리턴 System.DateTime

GetNumberOfUsersOnline() 공개 메소드

public GetNumberOfUsersOnline ( ) : int
리턴 int

GetPassword() 공개 메소드

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

GetPasswordChangedDate() 공개 메소드

public GetPasswordChangedDate ( string userName ) : System.DateTime
userName string
리턴 System.DateTime

GetPasswordFailuresSinceLastSuccess() 공개 메소드

public GetPasswordFailuresSinceLastSuccess ( string userName ) : int
userName string
리턴 int

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

GetUserIdFromOAuth() 공개 메소드

public GetUserIdFromOAuth ( string provider, string providerUserId ) : int
provider string
providerUserId string
리턴 int

GetUserIdFromPasswordResetToken() 공개 메소드

public GetUserIdFromPasswordResetToken ( string token ) : int
token string
리턴 int

GetUserNameByEmail() 공개 메소드

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

GetUserNameFromId() 공개 메소드

public GetUserNameFromId ( int userId ) : string
userId int
리턴 string

IsConfirmed() 공개 메소드

public IsConfirmed ( string userName ) : bool
userName string
리턴 bool

ResetPassword() 공개 메소드

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

ResetPasswordWithToken() 공개 메소드

public ResetPasswordWithToken ( string token, string newPassword ) : bool
token string
newPassword string
리턴 bool

UnlockUser() 공개 메소드

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

UpdateUser() 공개 메소드

public UpdateUser ( System user ) : void
user System
리턴 void

ValidateUser() 공개 메소드

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