C# Class MonkeyFist.Membership

Inheritance: MonkeyFist.IMembership
Mostrar archivo Open project: robconery/monkey-fist

Public Methods

Method Description
Authenticate ( Credentials creds ) : AuthenticationResult
Authenticate ( string authenticationToken, string ipAddress = "127.0.0.1" ) : AuthenticationResult
Authenticate ( string email, string password, string ipAddress = "127.0.0.1" ) : AuthenticationResult
CurrentUser ( string sessionToken ) : User
Membership ( ) : System
Membership ( Configuration config ) : System
Register ( string email, string password, string confirm, string ipAddress = "127.0.0.1" ) : RegistrationResult
ResetUsersPassword ( string resetToken, string newPassword ) : ResetResult
SendResetTokenToUser ( string email, string resetUrl = "http://localhost/reminders/" ) : ReminderResult

Method Details

Authenticate() public method

public Authenticate ( Credentials creds ) : AuthenticationResult
creds MonkeyFist.Services.Credentials
return MonkeyFist.Services.AuthenticationResult

Authenticate() public method

public Authenticate ( string authenticationToken, string ipAddress = "127.0.0.1" ) : AuthenticationResult
authenticationToken string
ipAddress string
return MonkeyFist.Services.AuthenticationResult

Authenticate() public method

public Authenticate ( string email, string password, string ipAddress = "127.0.0.1" ) : AuthenticationResult
email string
password string
ipAddress string
return MonkeyFist.Services.AuthenticationResult

CurrentUser() public method

public CurrentUser ( string sessionToken ) : User
sessionToken string
return MonkeyFist.Models.User

Membership() public method

public Membership ( ) : System
return System

Membership() public method

public Membership ( Configuration config ) : System
config Configuration
return System

Register() public method

public Register ( string email, string password, string confirm, string ipAddress = "127.0.0.1" ) : RegistrationResult
email string
password string
confirm string
ipAddress string
return MonkeyFist.Services.RegistrationResult

ResetUsersPassword() public method

public ResetUsersPassword ( string resetToken, string newPassword ) : ResetResult
resetToken string
newPassword string
return MonkeyFist.Services.ResetResult

SendResetTokenToUser() public method

public SendResetTokenToUser ( string email, string resetUrl = "http://localhost/reminders/" ) : ReminderResult
email string
resetUrl string
return MonkeyFist.Services.ReminderResult