Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IamForwardAuth ¶
type IamForwardAuth struct {
CheckAPI string `cfg:"check_api"`
// IamMiddleware is the name of a registered IAM middleware instance.
// When set, the check is performed directly in-process via the IAM
// database instead of making an HTTP request to CheckAPI.
IamMiddleware *string `cfg:"iam_middleware"`
MethodHeader string `cfg:"method_header"`
HostHeader string `cfg:"host_header"`
URIHeader string `cfg:"uri_header"`
// PassHeaders is a list of header names to copy from the incoming
// request to the outgoing response on a successful auth check.
PassHeaders []string `cfg:"pass_headers"`
InsecureSkipVerify bool `cfg:"insecure_skip_verify"`
// contains filtered or unexported fields
}
func (*IamForwardAuth) Init ¶
func (m *IamForwardAuth) Init() error
func (*IamForwardAuth) Middleware ¶
Click to show internal directories.
Click to hide internal directories.