SDK reference · Verifiers
Discovery.Middleware
Discovery.Middleware in go.provenanceauth.com/verify (Go), Verifiers. Middleware wraps next: http.ListenAndServe(":8080", (&Discovery{}).Middleware(mux)).
Signature
provenanceverify.Discovery.Middleware(next http.Handler) http.HandlerParameters
nexthttp.HandlerRequired
Returns
http.Handler
HTTP operation
Runs locally, with no request to the API.