C# 클래스 WaveBox.Core.Model.User

상속: IGroupingItem
파일 보기 프로젝트 열기: einsteinx2/WaveBox 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Authenticate ( string password ) : bool
CompareUsersByName ( User x, User y ) : int
ComputePasswordHash ( string password, string salt, int iterations = HashIterations ) : string
CreateSession ( string password, string clientName ) : bool
Delete ( ) : bool
DeleteSession ( string sessionId ) : bool
GeneratePasswordSalt ( ) : string
HasPermission ( Role role ) : bool
ListOfSessions ( ) : IList
ToString ( ) : string
UpdateLastfmSession ( string sessionKey ) : bool
UpdatePassword ( string password ) : bool
UpdateRole ( Role role ) : bool
UpdateSession ( string sessionId ) : bool
UpdateUsername ( string username ) : bool

메소드 상세

Authenticate() 공개 메소드

public Authenticate ( string password ) : bool
password string
리턴 bool

CompareUsersByName() 공개 정적인 메소드

public static CompareUsersByName ( User x, User y ) : int
x User
y User
리턴 int

ComputePasswordHash() 공개 정적인 메소드

public static ComputePasswordHash ( string password, string salt, int iterations = HashIterations ) : string
password string
salt string
iterations int
리턴 string

CreateSession() 공개 메소드

public CreateSession ( string password, string clientName ) : bool
password string
clientName string
리턴 bool

Delete() 공개 메소드

public Delete ( ) : bool
리턴 bool

DeleteSession() 공개 메소드

public DeleteSession ( string sessionId ) : bool
sessionId string
리턴 bool

GeneratePasswordSalt() 공개 정적인 메소드

public static GeneratePasswordSalt ( ) : string
리턴 string

HasPermission() 공개 메소드

public HasPermission ( Role role ) : bool
role Role
리턴 bool

ListOfSessions() 공개 메소드

public ListOfSessions ( ) : IList
리턴 IList

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

UpdateLastfmSession() 공개 메소드

public UpdateLastfmSession ( string sessionKey ) : bool
sessionKey string
리턴 bool

UpdatePassword() 공개 메소드

public UpdatePassword ( string password ) : bool
password string
리턴 bool

UpdateRole() 공개 메소드

public UpdateRole ( Role role ) : bool
role Role
리턴 bool

UpdateSession() 공개 메소드

public UpdateSession ( string sessionId ) : bool
sessionId string
리턴 bool

UpdateUsername() 공개 메소드

public UpdateUsername ( string username ) : bool
username string
리턴 bool