Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyApplier ¶
type PolicyApplier interface { // InboundFilterChain returns inbound filter chain(s) to enforce the underlying authentication policy. InboundFilterChain(sdsUdsPath string, sdsUseTrustworthyJwt, sdsUseNormalJwt bool, meta map[string]string) []plugin.FilterChain // AuthNFilter returns the JWT HTTP filter to enforce the underlying authentication policy. // It may return nil, if no JWT validation is needed. JwtFilter(isXDSMarshalingToAnyEnabled bool) *http_conn.HttpFilter // AuthNFilter returns the (authn) HTTP filter to enforce the underlying authentication policy. // It may return nil, if no authentication is needed. AuthNFilter(proxyType model.NodeType, isXDSMarshalingToAnyEnabled bool) *http_conn.HttpFilter }
PolicyApplier is the interface provides essential functionalities to help config Envoy (xDS) to enforce authentication policy. Each version of authentication policy will implement this interface.
Click to show internal directories.
Click to hide internal directories.