authentication_controller

package
v0.0.0-...-0eeeb36 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2018 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REDIRECT_LOGIN         = "login"
	REDIRECT_VERIFY_DEVICE = "verifyDevice"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthController

type AuthController struct {
	ServicesGroup *service.ServicesGroup
	// contains filtered or unexported fields
}

func DefaultAuthController

func DefaultAuthController(routes *routes.Routes, sg *service.ServicesGroup) *AuthController

func (*AuthController) Default

func (ac *AuthController) Default()

type MyCustomClaims

type MyCustomClaims struct {
	jwt.StandardClaims
	// contains filtered or unexported fields
}

type VerifyDeviceDisplay

type VerifyDeviceDisplay struct {
	DeviceCode string `json:"deviceCode" binding:"required"`
}

Verify device form structure

Jump to

Keyboard shortcuts

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