controllers

package
v0.0.0-...-6ea536d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2013 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationController

type ApplicationController struct {
	*r.Controller
}

func (*ApplicationController) GordenManager

func (c *ApplicationController) GordenManager() *gorden.Manager

type Auth

type Auth struct {
	ApplicationController
}

func (Auth) ChangePassword

func (c Auth) ChangePassword() revel.Result

func (Auth) ForgotPassword

func (c Auth) ForgotPassword() revel.Result

func (Auth) HandleChangePassword

func (c Auth) HandleChangePassword() revel.Result

func (Auth) HandleForgotPassword

func (c Auth) HandleForgotPassword(email string) revel.Result

func (Auth) HandleLogin

func (c Auth) HandleLogin(user *models.User) revel.Result

func (Auth) HandleRegister

func (c Auth) HandleRegister(user *models.User) revel.Result

func (Auth) HandleResetPassword

func (c Auth) HandleResetPassword(user_id int, hmac string) revel.Result

func (Auth) Login

func (c Auth) Login() revel.Result

func (Auth) Logout

func (c Auth) Logout() revel.Result

func (Auth) Register

func (c Auth) Register() revel.Result

func (Auth) ResetPassword

func (c Auth) ResetPassword(user_id int, hmac string) revel.Result

type AuthenticateParams

type AuthenticateParams struct {
	Email    string
	Password string
}

type PasswordStrategy

type PasswordStrategy struct{}

func (PasswordStrategy) Authenticate

func (strategy PasswordStrategy) Authenticate(arguments interface{}) bool

func (PasswordStrategy) IsAuthenticated

func (PasswordStrategy) IsAuthenticated() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL