extractors

package
v0.7.0-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCompositeExtractStrategyHookFunc

func DecodeCompositeExtractStrategyHookFunc() mapstructure.DecodeHookFunc

Types

type AuthData

type AuthData interface {
	ApplyTo(req *http.Request)
	Value() string
}

type AuthDataExtractStrategy

type AuthDataExtractStrategy interface {
	GetAuthData(ctx heimdall.Context) (AuthData, error)
}

type BodyParameterExtractStrategy

type BodyParameterExtractStrategy struct {
	Name string
}

func (BodyParameterExtractStrategy) GetAuthData

type CompositeExtractStrategy

type CompositeExtractStrategy []AuthDataExtractStrategy

func (CompositeExtractStrategy) GetAuthData

func (ce CompositeExtractStrategy) GetAuthData(ctx heimdall.Context) (AuthData, error)

type CookieValueExtractStrategy

type CookieValueExtractStrategy struct {
	Name string
}

func (CookieValueExtractStrategy) GetAuthData

type HeaderValueExtractStrategy

type HeaderValueExtractStrategy struct {
	Name   string
	Schema string
}

func (HeaderValueExtractStrategy) GetAuthData

type QueryParameterExtractStrategy

type QueryParameterExtractStrategy struct {
	Name string
}

func (QueryParameterExtractStrategy) GetAuthData

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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