authn

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BasicAuthnFilterName string = "BasicAuthnFilter"

BasicAuthnFilterName is the name of the Basic AuthenticationFilter

Variables

This section is empty.

Functions

func NewBasicAuthnFilter

func NewBasicAuthnFilter(user, password string) *filters.AuthenticationFilter

NewBasicAuthnFilter creates a new Basic Authentication Filter with inmemory authenticator

Types

type Settings

type Settings struct {
	User              string `mapstructure:"user"`
	Password          string `mapstructure:"password"`
	TokenIssuerURL    string `mapstructure:"token_issuer_url"`
	ClientID          string `mapstructure:"client_id"`
	SkipSSLValidation bool   `mapstructure:"skip_ssl_validation"`
}

Settings for authentication confnig

func DefaultSettings

func DefaultSettings() *Settings

DefaultSettings for the authentication config

Jump to

Keyboard shortcuts

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