C# Class MonkeyFist.Services.Reminders

Datei anzeigen Open project: robconery/monkey-fist Class Usage Examples

Public Methods

Method Description
CreateReminderLink ( User user ) : string
GetReminderMailer ( ) : UserMailerTemplate
GetUserByEmail ( string email ) : User
PasswordResetIsValid ( string newPassword ) : bool
Reminders ( Configuration config = null ) : System
ResetUserPassword ( System.Guid token, string newPassword ) : ResetResult
ResetWindowIsOpen ( User user ) : bool
SendReminderTokenToUser ( string email ) : ReminderResult

Private Methods

Method Description
GetUserByToken ( System.Guid token ) : User

Method Details

CreateReminderLink() public method

public CreateReminderLink ( User user ) : string
user MonkeyFist.Models.User
return string

GetReminderMailer() public method

public GetReminderMailer ( ) : UserMailerTemplate
return MonkeyFist.Models.UserMailerTemplate

GetUserByEmail() public method

public GetUserByEmail ( string email ) : User
email string
return MonkeyFist.Models.User

PasswordResetIsValid() public method

public PasswordResetIsValid ( string newPassword ) : bool
newPassword string
return bool

Reminders() public method

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

ResetUserPassword() public method

public ResetUserPassword ( System.Guid token, string newPassword ) : ResetResult
token System.Guid
newPassword string
return ResetResult

ResetWindowIsOpen() public method

public ResetWindowIsOpen ( User user ) : bool
user MonkeyFist.Models.User
return bool

SendReminderTokenToUser() public method

public SendReminderTokenToUser ( string email ) : ReminderResult
email string
return ReminderResult