From 82cf1b56125494e80803d3c107daa33e3b95a364 Mon Sep 17 00:00:00 2001 From: lestrrat <49281+lestrrat@users.noreply.github.com> Date: Fri, 1 Nov 2024 13:41:44 +0900 Subject: [PATCH] fix document (#1226) Co-authored-by: Daisuke Maki --- jws/options.yaml | 1 - jws/options_gen.go | 1 - 2 files changed, 2 deletions(-) diff --git a/jws/options.yaml b/jws/options.yaml index 5a018828..1a82d47c 100644 --- a/jws/options.yaml +++ b/jws/options.yaml @@ -148,7 +148,6 @@ options: comment: | WithUseDefault specifies that if and only if a jwk.Key contains exactly one jwk.Key, that key should be used. - (I think this should be removed) - ident: RequireKid interface: WithKeySetSuboption argument_type: bool diff --git a/jws/options_gen.go b/jws/options_gen.go index a913eeab..99943252 100644 --- a/jws/options_gen.go +++ b/jws/options_gen.go @@ -361,7 +361,6 @@ func WithCompact() SignVerifyParseOption { // WithUseDefault specifies that if and only if a jwk.Key contains // exactly one jwk.Key, that key should be used. -// (I think this should be removed) func WithUseDefault(v bool) WithKeySetSuboption { return &withKeySetSuboption{option.New(identUseDefault{}, v)} }