httpsigmw

package
v0.0.0-...-7b7c10a Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *Config) mux.MiddlewareFunc

New returns httpsig auth middleware.

func SubjectDID

func SubjectDID(ctx context.Context) (string, bool)

SubjectDID reads subject did from context.

Types

type Config

type Config struct {
	VDR vdrRegistry
}

Config used to configure httpsig auth middleware.

Jump to

Keyboard shortcuts

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