C# 클래스 CardShop.Auth.WebSecurityWrapper

상속: IWebSecurity
파일 보기 프로젝트 열기: egreene/PracticeGDVP

공개 메소드들

메소드 설명
ChangePassword ( string userName, string currentPassword, string newPassword ) : bool
CreateAccount ( string userName, string password, bool requireConfirmationToken = false ) : string
CreateUserAndAccount ( string userName, string password, object propertyValues = null, bool requireConfirmationToken = false ) : string
GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow = 1440 ) : string
GetUserId ( string userName ) : int
Login ( string userName, string password, bool persistCookie = false ) : bool
Logout ( ) : void
ResetPassword ( string passwordResetToken, string newPassword ) : bool

메소드 상세

ChangePassword() 공개 메소드

public ChangePassword ( string userName, string currentPassword, string newPassword ) : bool
userName string
currentPassword string
newPassword string
리턴 bool

CreateAccount() 공개 메소드

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

CreateUserAndAccount() 공개 메소드

public CreateUserAndAccount ( string userName, string password, object propertyValues = null, bool requireConfirmationToken = false ) : string
userName string
password string
propertyValues object
requireConfirmationToken bool
리턴 string

GeneratePasswordResetToken() 공개 메소드

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

GetUserId() 공개 메소드

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

Login() 공개 메소드

public Login ( string userName, string password, bool persistCookie = false ) : bool
userName string
password string
persistCookie bool
리턴 bool

Logout() 공개 메소드

public Logout ( ) : void
리턴 void

ResetPassword() 공개 메소드

public ResetPassword ( string passwordResetToken, string newPassword ) : bool
passwordResetToken string
newPassword string
리턴 bool