authn

package
v0.11.13 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInMemoryAuthenticator added in v0.7.3

func NewInMemoryAuthenticator(user, password string) httpsec.Authenticator

NewInMemoryAuthenticator builds new basic authenticator with in memory defined username and password

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