From 81449672cc6ca355aab560621e61ea597d5115c0 Mon Sep 17 00:00:00 2001 From: Christian Banse Date: Sun, 19 Feb 2023 19:58:05 +0100 Subject: [PATCH] Update claims.go Co-authored-by: Michael Fridman --- claims.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/claims.go b/claims.go index 9dee607..d50ff3d 100644 --- a/claims.go +++ b/claims.go @@ -5,7 +5,7 @@ package jwt // common basis for validation, it is required that an implementation is able to // supply at least the claim names provided in // https://datatracker.ietf.org/doc/html/rfc7519#section-4.1 namely `exp`, -// `iat`, `nbf`, `iss` and `aud`. +// `iat`, `nbf`, `iss`, `sub` and `aud`. type Claims interface { GetExpirationTime() (*NumericDate, error) GetIssuedAt() (*NumericDate, error)