controllers

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication

type Authentication struct {
	*revel.Controller
}

Authentication is the authentication controller

func (Authentication) Login

func (c Authentication) Login() revel.Result

Login provides functionality to return a JWT for a user

func (Authentication) Logout

func (c Authentication) Logout() revel.Result

Logout clears the JWT with this session

Jump to

Keyboard shortcuts

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