revel

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCredentials

func ValidateCredentials(c *revel.Controller, filterChain []revel.Filter)

ValidateCredentials will prompt for credentials and validate them

Types

type AuthenticationConfig

type AuthenticationConfig struct {
	EnableJwtAuthentication   bool
	EnableBasicAuthentication bool
	AuthenticationManager     *authentication.Manager
}

AuthenticationConfig is a struct that holds authentication package information

func CreateAuthenticationConfig

func CreateAuthenticationConfig() (*AuthenticationConfig, error)

CreateAuthenticationConfig reads config files and prepares the authentication middleware for use

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

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