C# Class MonkeyFist.Services.Registrator

Show file Open project: robconery/monkey-fist Class Usage Examples

Protected Properties

Property Type Description
CurrentApplication MonkeyFist.Models.Application

Public Methods

Method Description
AcceptApplication ( ) : User
ApplyForMembership ( Application app ) : RegistrationResult
CreateUserFromCurrentApplication ( ) : User
EmailAlreadyRegistered ( ) : bool
EmailIsInvalid ( ) : bool
HashPassword ( ) : string
InvalidApplication ( string reason ) : RegistrationResult
PasswordDoesNotMatchConfirmation ( ) : bool
PasswordIsInvalid ( ) : bool
Registrator ( Configuration config = null ) : System

Private Methods

Method Description
EmailOrPasswordNotPresent ( ) : bool

Method Details

AcceptApplication() public method

public AcceptApplication ( ) : User
return MonkeyFist.Models.User

ApplyForMembership() public method

public ApplyForMembership ( Application app ) : RegistrationResult
app MonkeyFist.Models.Application
return RegistrationResult

CreateUserFromCurrentApplication() public method

public CreateUserFromCurrentApplication ( ) : User
return MonkeyFist.Models.User

EmailAlreadyRegistered() public method

public EmailAlreadyRegistered ( ) : bool
return bool

EmailIsInvalid() public method

public EmailIsInvalid ( ) : bool
return bool

HashPassword() public method

public HashPassword ( ) : string
return string

InvalidApplication() public method

public InvalidApplication ( string reason ) : RegistrationResult
reason string
return RegistrationResult

PasswordDoesNotMatchConfirmation() public method

public PasswordDoesNotMatchConfirmation ( ) : bool
return bool

PasswordIsInvalid() public method

public PasswordIsInvalid ( ) : bool
return bool

Registrator() public method

public Registrator ( Configuration config = null ) : System
config Configuration
return System

Property Details

CurrentApplication protected property

protected Application,MonkeyFist.Models CurrentApplication
return MonkeyFist.Models.Application