C# 클래스 Zetbox.Client.ASPNET.ZetboxMembershipProvider

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

공개 메소드들

메소드 설명
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

creates a local account, that is a password associated with a user

CreateOrUpdateOAuthAccount ( string provider, string providerUserId, string userName ) : void

creates a user with a profile and a OpenID account, no local account (a account with a password)

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

A user has a user profile and a local account

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

A user has a user profile and a local account

DeleteAccount ( string userName ) : bool
DeleteOAuthAccount ( string provider, string providerUserId ) : void
DeleteOAuthToken ( string token ) : void
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
GetOAuthTokenSecret ( string token ) : string
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
HasLocalAccount ( int userId ) : bool
IsConfirmed ( string userName ) : bool
ReplaceOAuthRequestTokenWithAccessToken ( string requestToken, string accessToken, string accessTokenSecret ) : void
ResetPassword ( string username, string answer ) : string
ResetPasswordWithToken ( string token, string newPassword ) : bool
StoreOAuthRequestToken ( string requestToken, string requestTokenSecret ) : void
UnlockUser ( string userName ) : bool
UpdateUser ( System user ) : void
ValidateUser ( string username, string password ) : bool

비공개 메소드들

메소드 설명
GetContext ( ) : IZetboxContext
GetUser ( IZetboxContext ctx, int userid ) : Identity
GetUser ( IZetboxContext ctx, string username ) : Identity
GetUser ( IZetboxContext ctx, string provider, string providerUserId ) : Identity
ToMembershipUser ( Identity usr ) : System.Web.Security.MembershipUser

메소드 상세

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() 공개 메소드

creates a local account, that is a password associated with a user
public CreateAccount ( string userName, string password, bool requireConfirmationToken ) : string
userName string
password string
requireConfirmationToken bool
리턴 string

CreateOrUpdateOAuthAccount() 공개 메소드

creates a user with a profile and a OpenID account, no local account (a account with a password)
public CreateOrUpdateOAuthAccount ( string provider, string providerUserId, string userName ) : void
provider string
providerUserId string
userName string
리턴 void

CreateUser() 공개 메소드

A user has a user profile and a local account
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() 공개 메소드

A user has a user profile and a local account
public CreateUserAndAccount ( string userName, string password, bool requireConfirmation, object>.IDictionary values ) : string
userName string
password string
requireConfirmation bool
values object>.IDictionary
리턴 string

DeleteAccount() 공개 메소드

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

DeleteOAuthAccount() 공개 메소드

public DeleteOAuthAccount ( string provider, string providerUserId ) : void
provider string
providerUserId string
리턴 void

DeleteOAuthToken() 공개 메소드

public DeleteOAuthToken ( string token ) : void
token string
리턴 void

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

GetOAuthTokenSecret() 공개 메소드

public GetOAuthTokenSecret ( string token ) : string
token string
리턴 string

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

HasLocalAccount() 공개 메소드

public HasLocalAccount ( int userId ) : bool
userId int
리턴 bool

IsConfirmed() 공개 메소드

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

ReplaceOAuthRequestTokenWithAccessToken() 공개 메소드

public ReplaceOAuthRequestTokenWithAccessToken ( string requestToken, string accessToken, string accessTokenSecret ) : void
requestToken string
accessToken string
accessTokenSecret string
리턴 void

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

StoreOAuthRequestToken() 공개 메소드

public StoreOAuthRequestToken ( string requestToken, string requestTokenSecret ) : void
requestToken string
requestTokenSecret string
리턴 void

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