▶️ Play
⏸️ Pause
1
2
3
4
🖥️
SERVER
// Define error with catalog flag
diag!
{
<
catalog
>
E.API.AUTH.TOKEN_EXPIRED: {
message:
"Session expired at {expiry}"
,
hints: [
"Click login"
]
}
}
// Auto-generates hash:
"jGKFp"
50 bytes
{"h":"jGKFp",
"f":{"expiry":"15:30"}}
app.example.com
🇬🇧
Received: {"h":"jGKFp"}
ERROR
Your session has expired at 15:30
Click login button
Use refresh token
app.example.com
🇪🇸
Recibido: {"h":"jGKFp"}
ERROR
Tu sesión ha expirado a las 15:30
Haz clic en iniciar sesión
Usa el token de actualización
app.example.com
🇫🇷
Reçu: {"h":"jGKFp"}
ERREUR
Votre session a expiré à 15:30
Cliquez sur connexion
Utilisez le token de rafraîchissement
85%
Saved
3
Languages
Traditional:
350B
Catalog:
50B