auth.expired
The caller was signed in, but the session or link has expired
Read https://www.prongs.dev/docs/intents/auth/expired.md and tell me whether auth.expired fits what I am building.Auth intents
Example
return fail('auth.expired');The caller getsTerminal
HTTP 401
{
"ok": false,
"error": "Your session has expired. Sign in again.",
"code": "auth.expired"
}Connections
Choosing between neighbours
If it is
Use
The caller was signed in, but the session or link has expired
auth.expired
For registry authors
Starter intents. These are the intents prongs add errors puts in your registry, raised with fail(). Change the messages to suit your app, and the statuses through the status.* intents they are built from.
The entry prongs add errors writes into your registry. Change the message here, or the status through its status.* ref.
'auth.expired': {
kind: 'semantic',
description: 'The caller was signed in, but the session or link has expired',
refs: ['status.unauthorized'],
binding: { publicMessage: 'Your session has expired. Sign in again.' },
},