auth

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtAuthConfig

type ExtAuthConfig struct {
	// Enable enables/disables the inbound external authorization policy if present.
	Enable bool

	// Address is the target destination endpoint that will handle external authorization.
	Address string

	// Port is the remote destination port for the external authorization endpoint.
	Port uint16

	// StatPrefix is a prefix for inbound external authorization related metrics.
	StatPrefix string

	// AuthzTimeout defines the timeout to consider for the remote endpoint to reply in time.
	AuthzTimeout time.Duration

	// FailureModeAllow allows specifying if traffic should succeed or fail if the external authorization endpoint fails to respond.
	FailureModeAllow bool
}

ExtAuthConfig implements a generic subset of External Authz to configure external authorization through HttpFilters

Jump to

Keyboard shortcuts

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