Verifies pre-extracted credentials against one or more allowed auth modes.
Tries each mode in order — first match wins. A mode is only tried when its
credential is present; a JWT that is present but fails verification
short-circuits the chain with InvalidCredentialsError instead of falling
through to the next mode. Use verifyAuth to extract and verify in a
single call.
Verifies pre-extracted credentials against one or more allowed auth modes.
Tries each mode in order — first match wins. A mode is only tried when its credential is present; a JWT that is present but fails verification short-circuits the chain with
InvalidCredentialsErrorinstead of falling through to the next mode. Use verifyAuth to extract and verify in a single call.