Cotton code
49 lines · 1.1 KB · JSONRaw
{  "format_version": 1,  "id": "oauth_refresh",  "name": "OAuth refresh token",  "plural": "OAuth refresh tokens",  "visibility": "owner",  "title": "client_id",  "columns": [    {      "key": "client_id",      "name": "Client id",      "type": "text",      "required": true,      "readonly": true    },    {      "key": "token",      "name": "Token",      "type": "text",      "required": true,      "readonly": true    },    {      "key": "scope",      "name": "Scope",      "type": "text",      "readonly": true    },    {      "key": "expires_at",      "name": "Expires at",      "type": "text",      "required": true,      "readonly": true    },    {      "key": "used_at",      "name": "Used at",      "type": "text"    },    {      "key": "replaced_by",      "name": "Replaced by",      "type": "text"    }  ],  "instructions": "A refresh token beside an OAuth client's mcp_token: its id is the token's sha256; spending it revokes that token and mints the next pair, and spending it twice revokes the live one.",  "internal": true}