options

package
v1.3.24 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenGrantorOptions

type TokenGrantorOptions struct {
	EnableSourceAddress bool `json:"enable_source_address,omitempty" xml:"enable_source_address,omitempty" yaml:"enable_source_address,omitempty"`
}

TokenGrantorOptions provides options for TokenGrantor.

func NewTokenGrantorOptions

func NewTokenGrantorOptions() *TokenGrantorOptions

NewTokenGrantorOptions returns an instance of TokenGrantorOptions

type TokenValidatorOptions

type TokenValidatorOptions struct {
	ValidateSourceAddress       bool `json:"validate_source_address,omitempty" xml:"validate_source_address,omitempty" yaml:"validate_source_address,omitempty"`
	ValidateBearerHeader        bool `json:"validate_bearer_header,omitempty" xml:"validate_bearer_header,omitempty" yaml:"validate_bearer_header,omitempty"`
	ValidateMethodPath          bool `json:"validate_method_path,omitempty" xml:"validate_method_path,omitempty" yaml:"validate_method_path,omitempty"`
	ValidateAccessListPathClaim bool `` /* 145-byte string literal not displayed */
}

TokenValidatorOptions provides options for TokenValidator.

func NewTokenValidatorOptions

func NewTokenValidatorOptions() *TokenValidatorOptions

NewTokenValidatorOptions returns an instance of TokenValidatorOptions

Jump to

Keyboard shortcuts

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