Documentation
¶
Index ¶
- type ApplicationController
- type Auth
- func (c Auth) ChangePassword() revel.Result
- func (c Auth) ForgotPassword() revel.Result
- func (c Auth) HandleChangePassword() revel.Result
- func (c Auth) HandleForgotPassword(email string) revel.Result
- func (c Auth) HandleLogin(user *models.User) revel.Result
- func (c Auth) HandleRegister(user *models.User) revel.Result
- func (c Auth) HandleResetPassword(user_id int, hmac string) revel.Result
- func (c Auth) Login() revel.Result
- func (c Auth) Logout() revel.Result
- func (c Auth) Register() revel.Result
- func (c Auth) ResetPassword(user_id int, hmac string) revel.Result
- type AuthenticateParams
- type PasswordStrategy
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 (Auth) ForgotPassword ¶
func (Auth) HandleChangePassword ¶
func (Auth) HandleResetPassword ¶
type AuthenticateParams ¶
type PasswordStrategy ¶
type PasswordStrategy struct{}
func (PasswordStrategy) Authenticate ¶
func (strategy PasswordStrategy) Authenticate(arguments interface{}) bool
func (PasswordStrategy) IsAuthenticated ¶
func (PasswordStrategy) IsAuthenticated() bool
Click to show internal directories.
Click to hide internal directories.