insecure

package
v0.0.0-...-0001d10 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const HeaderKey string = "X-OASIS-INSECURE-AUTH"

Variables

View Source
var ErrDataTooShort = errors.New("Payload data is too short")

Functions

This section is empty.

Types

type InsecureAuth

type InsecureAuth struct{}

InsecureAuth is an insecure authentication mechanism that may be useful for debugging and testing. It should not be used in setups with real users.

func (InsecureAuth) Authenticate

func (a InsecureAuth) Authenticate(req *http.Request) (*http.Request, error)

func (InsecureAuth) Name

func (a InsecureAuth) Name() string

func (InsecureAuth) SetLogger

func (InsecureAuth) SetLogger(_ log.Logger)

func (InsecureAuth) Stats

func (a InsecureAuth) Stats() stats.Metrics

func (InsecureAuth) Verify

func (InsecureAuth) Verify(ctx context.Context, req core.AuthRequest) error

Jump to

Keyboard shortcuts

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