frontproxy

package

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(address string, cfg *gatewayconfig.FrontProxyComponent, oidcAuthenticator *oidc.Authenticator, protected bool) (http.Handler, error)

NewHandler to create a reverse proxy handler and returns it. This mode of reverse proxy will resolve the token in the request cookie, call oidc to get the user identity, and pass it to the backend service as HTTP header.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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