From 36417065f8ced4a82f23f863ceaa9537664304be Mon Sep 17 00:00:00 2001 From: Peter Kieltyka Date: Tue, 3 Jan 2023 12:16:33 -0500 Subject: [PATCH] update docs --- jwtauth.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jwtauth.go b/jwtauth.go index 9a929fa..bc42ae3 100644 --- a/jwtauth.go +++ b/jwtauth.go @@ -47,9 +47,8 @@ func New(alg string, signKey interface{}, verifyKey interface{}) *JWTAuth { // Verifier http middleware handler will verify a JWT string from a http request. // // Verifier will search for a JWT token in a http request, in the order: -// 1. 'jwt' URI query parameter -// 2. 'Authorization: BEARER T' request header -// 3. Cookie 'jwt' value +// 1. 'Authorization: BEARER T' request header +// 2. Cookie 'jwt' value // // The first JWT string that is found as a query parameter, authorization header // or cookie header is then decoded by the `jwt-go` library and a *jwt.Token