package
1.2.0
Repository: https://github.com/open-policy-agent/opa.git
Documentation: pkg.go.dev

# Functions

ClientCertificates returns the ClientCertificates of the caller associated with ctx.
Identity returns the identity of the caller associated with ctx.
NewTLSBased returns a new TLSBased object.
NewTokenBased returns a new TokenBased object.
SetClientCertificates returns a new http.Request with the ClientCertificates set to v.
SetIdentity returns a new http.Request with the identity set to v.

# Structs

TLSBased extracts the CN of the client's TLS ceritificate.
TokenBased extracts Bearer tokens from the request.