extractors

package
v0.14.1-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCompositeExtractStrategyHookFunc

func DecodeCompositeExtractStrategyHookFunc() mapstructure.DecodeHookFunc

Types

type AuthDataExtractStrategy

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

type BodyParameterExtractStrategy

type BodyParameterExtractStrategy struct {
	Name string
}

func (BodyParameterExtractStrategy) GetAuthData

func (es BodyParameterExtractStrategy) GetAuthData(ctx heimdall.Context) (string, error)

type CompositeExtractStrategy

type CompositeExtractStrategy []AuthDataExtractStrategy

func (CompositeExtractStrategy) GetAuthData

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

type CookieValueExtractStrategy

type CookieValueExtractStrategy struct {
	Name string
}

func (CookieValueExtractStrategy) GetAuthData

type HeaderValueExtractStrategy

type HeaderValueExtractStrategy struct {
	Name   string
	Scheme 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