From 9dfd418127374e7000c7fe7e12d4f3625891d702 Mon Sep 17 00:00:00 2001 From: antonmorant Date: Fri, 15 Oct 2021 13:29:26 -0700 Subject: [PATCH] Readme: Typo fix re MissingRequiredClaim. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46d23684..6f151bbf 100644 --- a/README.md +++ b/README.md @@ -486,7 +486,7 @@ end You can specify claims that must be present for decoding to be successful. JWT::MissingRequiredClaim will be raised if any are missing ```ruby -# Will raise a JWT::ExpiredSignature error if the 'exp' claim is absent +# Will raise a JWT::MissingRequiredClaim error if the 'exp' claim is absent JWT.decode token, hmac_secret, true, { required_claims: ['exp'], algorithm: 'HS256' } ```