API Key
Static key passed via header, query string, or cookie
/api-key
curl -H "X-API-Key: rq_demo_key" http://localhost:3000/api-key
curl "http://localhost:3000/api-key?api_key=rq_demo_key&in=query"
curl -b "API_KEY=rq_demo_key" "http://localhost:3000/api-key?in=cookie"
/api-key/{name}/{value}?in={location}
/api-key/myapp/my_secret_key?in=header
Bearer Token
Static opaque token in the Authorization header
/bearer-data
curl -H "Authorization: Bearer rq_static_token" http://localhost:3000/bearer-data
/bearer?token={expected}
/bearer?token=my_custom_token
HTTP Basic Auth
Base64-encoded username and password in the Authorization header
/basic-data
curl -u testuser:testpass http://localhost:3000/basic-data
/basic-auth/{user}/{pass}
/basic-auth/alice/secret
HTTP Digest Auth
Challenge-response authentication with MD5 or SHA-256 hashes
/digest-resource
curl --digest -u testuser:testpass http://localhost:3000/digest-resource
curl --digest -u testuser:testpass "http://localhost:3000/digest-resource?algorithm=SHA-256"
curl --digest -u testuser:testpass "http://localhost:3000/digest-resource?algorithm=SHA-512-256"
curl --digest -u testuser:testpass "http://localhost:3000/digest-resource?algorithm=SHA-256-sess"
/digest-auth/{qop}/{user}/{pass}
/digest-auth/auth/alice/secret?algorithm=SHA-256
JWT Bearer
Cryptographically signed JSON Web Token with HS256 or RS256
/jwt/validate?algorithm=HS256
Authorization: Bearer <token>
?token=<token>
/jwt/generate?algorithm=HS256
/jwt/signing-key?algorithm=HS256
curl -H "Authorization: Bearer <YOUR_TOKEN>" 'http://localhost:3000/jwt/validate?algorithm=HS256'
curl 'http://localhost:3000/jwt/generate?algorithm=HS256'
OAuth 1.0
Signed requests with HMAC, PLAINTEXT, or RSA signature methods
/oauth1-resource
/oauth1/signing-key?method=HMAC-SHA1
OAuth 2.0
Full authorization server with PKCE, refresh tokens, and OIDC userinfo
/oauth2-private
/oauth2/authorize
/oauth2/callback
/oauth2/token
/oauth2/userinfo
/oauth2/introspect
/oauth2/revoke
Hawk Authentication
HMAC-SHA256 message authentication with payload integrity
/hawk-resource?algorithm=sha256
/hawk/{id}/{key}?algorithm={algorithm}
/hawk/my_hawk_id/my_hawk_key?algorithm=sha256