fingerprint

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package fingerprint provides utilities to generate request fingerprints used by the OpenKCM Session Manager and ExtAuthZ components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractFingerprint

func ExtractFingerprint(ctx context.Context) (string, error)

func FingerprintCtxMiddleware

func FingerprintCtxMiddleware(next http.Handler) http.Handler

Types

type Builder

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

func NewBuilder

func NewBuilder(opts ...BuilderOption) *Builder

func (*Builder) FromEnvoyHTTPRequest

func (b *Builder) FromEnvoyHTTPRequest(r *envoyauth.AttributeContext_HttpRequest) (string, error)

func (*Builder) FromHTTPRequest

func (b *Builder) FromHTTPRequest(r *http.Request) (string, error)

type BuilderOption

type BuilderOption func(*Builder)

func WithHeaderKeys

func WithHeaderKeys(keys []string) BuilderOption

Jump to

Keyboard shortcuts

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