auth

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VerifiedRequest

type VerifiedRequest struct {
	GatewayID       string
	ClientKeyID     string
	BindingAudience string
	Nonce           string
	TimestampUnixMS int64
	ProfileWrite    bool
}

type Verifier

type Verifier struct {
	// contains filtered or unexported fields
}

func NewVerifier

func NewVerifier(store *trust.Store) *Verifier

func (*Verifier) Verify

func (v *Verifier) Verify(ctx context.Context, r *http.Request, body []byte, bindingAudience string) (VerifiedRequest, error)

func (*Verifier) VerifyDigest added in v0.11.0

func (v *Verifier) VerifyDigest(ctx context.Context, r *http.Request, bodyDigest string, bindingAudience string) (VerifiedRequest, error)

Jump to

Keyboard shortcuts

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