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. //