C# 클래스 ShoelaceMVC.Membership.CodeFirstMembershipProvider

상속: CodeFirstExtendedProvider
파일 보기 프로젝트 열기: RyannosaurusRex/Shoelace-MVC

공개 메소드들

메소드 설명
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
ChangePasswordQuestionAndAnswer ( string username, string password, string newPasswordQuestion, string newPasswordAnswer ) : bool
ConfirmAccount ( string accountConfirmationToken ) : bool
CreateAccount ( string userName, string password, string email, bool requireConfirmationToken ) : string
CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser
DeleteAccount ( string userName ) : bool
DeleteUser ( string username, bool deleteAllRelatedData ) : bool
ExtendedValidateUser ( string userNameOrEmail, string password ) : string
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
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 ( string userName, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUserIdFromPasswordResetToken ( string token ) : System.Guid
GetUserNameByEmail ( string email ) : string
Initialize ( string name, System config ) : void
IsConfirmed ( string userName ) : bool
ResetPassword ( string username, string answer ) : string
ResetPasswordWithToken ( string token, string newPassword ) : bool
UnlockUser ( string userName ) : bool
UpdateUser ( MembershipUser user ) : void
ValidateUser ( string username, string password ) : bool

비공개 메소드들

메소드 설명
CreateArgumentNullOrEmptyException ( string paramName ) : ArgumentException

메소드 상세

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

CreateAccount() 공개 메소드

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

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

DeleteAccount() 공개 메소드

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

DeleteUser() 공개 메소드

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

ExtendedValidateUser() 공개 메소드

public ExtendedValidateUser ( string userNameOrEmail, string password ) : string
userNameOrEmail string
password string
리턴 string

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

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 ( string userName, bool userIsOnline ) : System.Web.Security.MembershipUser
userName string
userIsOnline bool
리턴 System.Web.Security.MembershipUser

GetUser() 공개 메소드

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

GetUserIdFromPasswordResetToken() 공개 메소드

public GetUserIdFromPasswordResetToken ( string token ) : System.Guid
token string
리턴 System.Guid

GetUserNameByEmail() 공개 메소드

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

Initialize() 공개 메소드

public Initialize ( string name, System config ) : void
name string
config System
리턴 void

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 ( MembershipUser user ) : void
user MembershipUser
리턴 void

ValidateUser() 공개 메소드

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