Async function that verifies a bearer token from the Authorization header.
Authorization
Return true to allow the request, false to reject it with the default 401 response, or throw to surface a custom error.
true
false
Async function that verifies a bearer token from the
Authorizationheader.Return
trueto allow the request,falseto reject it with the default 401 response, or throw to surface a custom error.