package
1.0.0-rc1
Repository: https://github.com/trustbloc/kms.git
Documentation: pkg.go.dev

# Functions

NewMiddleware validates GNAP auth fields are not empty and returns a complete middleware instance.

# Structs

Middleware is a GNAP auth middleware.

# Interfaces

GNAPVerifier interface to support injecting a verifier in the middleware.
HTTPHandler is an HTTP handler (used by GoMock to generate a mock).