filters

package
v0.0.0-...-8dc6894 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeniedResponse

func DeniedResponse(envoystatus envoy_type.StatusCode, rpcstatusCode rpc.Code, msg string) *envoy_auth.CheckResponse

TODO: use denied response, as this is currently unused.

func FilterJWT

func FilterJWT(token string) (bool, error)

func GenAuthdUser

func GenAuthdUser(uid, token string) []*envoy_core.HeaderValueOption

Adds Authorized user to header value

func GenGuestUser

func GenGuestUser() []*envoy_core.HeaderValueOption

Adds Guest user to header value if not logged in

func GetClaim

func GetClaim(token string) (*string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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