From 65c716b0f83a4026b87a7179fe873441812d51ac Mon Sep 17 00:00:00 2001 From: Daisuke Maki Date: Fri, 1 Nov 2024 13:46:42 +0900 Subject: [PATCH] Remove jws.WithHeaders --- jws/options.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/jws/options.go b/jws/options.go index 2bc6cd0a..29801803 100644 --- a/jws/options.go +++ b/jws/options.go @@ -6,17 +6,8 @@ import ( "github.com/lestrrat-go/option" ) -type identHeaders struct{} type identInsecureNoSignature struct{} -// WithHeaders is deprecated. See WithProtectedHeaders to specify -// headers to include in the jws signature. -// -// Using this option has NO EFFECT. -func WithHeaders(h Headers) SignOption { - return &signOption{option.New(identHeaders{}, h)} -} - // WithJSON specifies that the result of `jws.Sign()` is serialized in // JSON format. //