Matriz de fixtures JWT para tokens
Escolha fixtures JWT para access tokens validos, refresh expirado, claims de servico aninhados e depuracao de assinatura invalida.
4
Linhas de fixtures
3
Como usar esta matriz
Use the matrix when the validation target is a set of variants rather than one canonical sample.
Como usar esta matriz
Coverage
- Separa casos validos, expirados, com claims aninhados e com falha de assinatura.
- Util para middleware auth, API gateways e ferramentas de inspecao de token.
- Ancorado em packs de validacao de token e inspecao de requisicoes assinadas.
Linhas de fixtures
Available Variants
| Variante | Perfil | Foco do teste | Arquivo | Tamanho | Baixar |
|---|---|---|---|---|---|
|
HS256 Access JWT
Good baseline for middleware and authz checks against a current signed access token.
|
Valid access token | Claim and signature validation |
jwt_hs256_access_token_sample.jwt
|
365 B | Baixar |
|
Expired Refresh JWT
Useful for token lifetime checks and refresh-path rejection logic.
|
Expired token | Expiry handling |
jwt_expired_refresh_token_sample.jwt
|
351 B | Baixar |
|
Service Claims JWT
Targets worker/service auth flows with nested claims and permissions.
|
Nested claims token | Role and nested-claim parsing |
jwt_service_claims_token_sample.jwt
|
500 B | Baixar |
|
Invalid Signature JWT
Use when you need a structurally correct token that fails signature verification.
|
Broken token | Signature failure |
jwt_invalid_signature_sample.jwt
|
347 B | Baixar |
Paginas de estrategia relacionadas