C# Class Arash.Membership.Site.MemberService

Inheritance: IMemberService
Mostra file Open project: arashkarami/nlayeredMVC

Public Methods

Method Description
ChangePassword ( string username, string oldPassword, string newPassword ) : bool
GetMember ( ) : ISitePrincipal
MemberService ( IMemberManager memberManager ) : System
SignIn ( Member member, bool createPersistentCookie ) : void
SignOut ( ) : void
Validate ( Member member ) : MembershipCreateStatus

Private Methods

Method Description
ClearAuthenticationValues ( ) : void
SetAuthenticationValues ( Member member ) : void

Method Details

ChangePassword() public method

public ChangePassword ( string username, string oldPassword, string newPassword ) : bool
username string
oldPassword string
newPassword string
return bool

GetMember() public method

public GetMember ( ) : ISitePrincipal
return ISitePrincipal

MemberService() public method

public MemberService ( IMemberManager memberManager ) : System
memberManager IMemberManager
return System

SignIn() public method

public SignIn ( Member member, bool createPersistentCookie ) : void
member Arash.Membership.Model.Member
createPersistentCookie bool
return void

SignOut() public method

public SignOut ( ) : void
return void

Validate() public method

public Validate ( Member member ) : MembershipCreateStatus
member Arash.Membership.Model.Member
return MembershipCreateStatus