C# 클래스 JabbR.Services.MembershipService

상속: IMembershipService
파일 보기 프로젝트 열기: ucdavis/JabbR 1 사용 예제들

공개 메소드들

메소드 설명
AddUser ( string userName, string email, string password ) : JabbR.Models.ChatUser
AddUser ( string userName, string providerName, string identity, string email ) : JabbR.Models.ChatUser
AuthenticateUser ( string userName, string password ) : JabbR.Models.ChatUser
ChangeUserName ( JabbR.Models.ChatUser user, string newUserName ) : void
ChangeUserPassword ( JabbR.Models.ChatUser user, string oldPassword, string newPassword ) : void
MembershipService ( IJabbrRepository repository, ICryptoService crypto ) : System
SetUserPassword ( JabbR.Models.ChatUser user, string password ) : void

비공개 메소드들

메소드 설명
EnsureProviderAndIdentityAvailable ( string providerName, string identity ) : void
EnsureSaltedPassword ( JabbR.Models.ChatUser user, string password ) : void
EnsureUserNameIsAvailable ( string userName ) : void
IsValidUserName ( string name ) : bool
NormalizeUserName ( string userName ) : string
ProviderAndIdentityExist ( string providerName, string identity ) : bool
ThrowPasswordIsRequired ( ) : void
ThrowProviderAndIdentityExist ( string providerName, string identity ) : void
ThrowUserExists ( string userName ) : void
UserExists ( string userName ) : bool
ValidatePassword ( string password ) : void

메소드 상세

AddUser() 공개 메소드

public AddUser ( string userName, string email, string password ) : JabbR.Models.ChatUser
userName string
email string
password string
리턴 JabbR.Models.ChatUser

AddUser() 공개 메소드

public AddUser ( string userName, string providerName, string identity, string email ) : JabbR.Models.ChatUser
userName string
providerName string
identity string
email string
리턴 JabbR.Models.ChatUser

AuthenticateUser() 공개 메소드

public AuthenticateUser ( string userName, string password ) : JabbR.Models.ChatUser
userName string
password string
리턴 JabbR.Models.ChatUser

ChangeUserName() 공개 메소드

public ChangeUserName ( JabbR.Models.ChatUser user, string newUserName ) : void
user JabbR.Models.ChatUser
newUserName string
리턴 void

ChangeUserPassword() 공개 메소드

public ChangeUserPassword ( JabbR.Models.ChatUser user, string oldPassword, string newPassword ) : void
user JabbR.Models.ChatUser
oldPassword string
newPassword string
리턴 void

MembershipService() 공개 메소드

public MembershipService ( IJabbrRepository repository, ICryptoService crypto ) : System
repository IJabbrRepository
crypto ICryptoService
리턴 System

SetUserPassword() 공개 메소드

public SetUserPassword ( JabbR.Models.ChatUser user, string password ) : void
user JabbR.Models.ChatUser
password string
리턴 void