Matrice di fixture JWT per token
Scegli fixture JWT per token validi, refresh scaduti, claims annidati e debug auth con firme non valide.
4
Righe di fixture
3
Come usare questa matrice
Use the matrix when the validation target is a set of variants rather than one canonical sample.
Come usare questa matrice
Coverage
- Separa casi validi, scaduti, con claims annidati e con firma non valida.
- Utile per middleware auth, API gateway e tool di ispezione token.
- Supportata dai pack di validazione token e richieste firmate.
Righe di fixture
Available Variants
| Variante | Profilo | Focus del test | File | Dimensione | Scarica |
|---|---|---|---|---|---|
|
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 | Scarica |
|
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 | Scarica |
|
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 | Scarica |
|
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 | Scarica |
Pagine strategiche correlate