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
Click to show internal directories.
Click to hide internal directories.