diff options
Diffstat (limited to 'vendor/golang.org/x/oauth2/jws/jws.go')
-rw-r--r-- | vendor/golang.org/x/oauth2/jws/jws.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/golang.org/x/oauth2/jws/jws.go b/vendor/golang.org/x/oauth2/jws/jws.go index 29887ea..2343443 100644 --- a/vendor/golang.org/x/oauth2/jws/jws.go +++ b/vendor/golang.org/x/oauth2/jws/jws.go @@ -92,6 +92,9 @@ type Header struct { // Represents the token type. Typ string `json:"typ"` + + // The optional hint of which key is being used. + KeyID string `json:"kid,omitempty"` } func (h *Header) encode() (string, error) { |