feat(server): support refresh token (#15218)

This commit is contained in:
DarkSky
2026-07-12 02:39:42 +08:00
committed by GitHub
parent aea128f0b9
commit 02b25e05d8
80 changed files with 5866 additions and 745 deletions

View File

@@ -1,13 +1,13 @@
{
"ar": 95,
"ca": 92,
"ar": 94,
"ca": 91,
"da": 4,
"de": 100,
"el-GR": 90,
"en": 100,
"es-AR": 91,
"es-CL": 92,
"es": 91,
"es-AR": 90,
"es-CL": 91,
"es": 90,
"fa": 90,
"fr": 94,
"hi": 1,
@@ -18,11 +18,11 @@
"nb-NO": 45,
"pl": 92,
"pt-BR": 90,
"ru": 93,
"sv-SE": 91,
"ru": 92,
"sv-SE": 90,
"tr": 98,
"uk": 90,
"ur": 98,
"zh-Hans": 100,
"zh-Hant": 93
"zh-Hant": 92
}

View File

@@ -9206,6 +9206,34 @@ export function useAFFiNEI18N(): {
* `You must sign in first to access this resource.`
*/
["error.AUTHENTICATION_REQUIRED"](): string;
/**
* `The access token has expired.`
*/
["error.ACCESS_TOKEN_EXPIRED"](): string;
/**
* `The access token is invalid.`
*/
["error.ACCESS_TOKEN_INVALID"](): string;
/**
* `The auth session has expired.`
*/
["error.AUTH_SESSION_EXPIRED"](): string;
/**
* `The auth session has been revoked.`
*/
["error.AUTH_SESSION_REVOKED"](): string;
/**
* `The refresh token is invalid.`
*/
["error.REFRESH_TOKEN_INVALID"](): string;
/**
* `The refresh token has already been used.`
*/
["error.REFRESH_TOKEN_REUSED"](): string;
/**
* `Auth session service is temporarily unavailable.`
*/
["error.AUTH_SESSION_TEMPORARILY_UNAVAILABLE"](): string;
/**
* `You are not allowed to perform this action.`
*/

View File

@@ -2297,6 +2297,13 @@
"error.INVALID_EMAIL_TOKEN": "An invalid email token provided.",
"error.LINK_EXPIRED": "The link has expired.",
"error.AUTHENTICATION_REQUIRED": "You must sign in first to access this resource.",
"error.ACCESS_TOKEN_EXPIRED": "The access token has expired.",
"error.ACCESS_TOKEN_INVALID": "The access token is invalid.",
"error.AUTH_SESSION_EXPIRED": "The auth session has expired.",
"error.AUTH_SESSION_REVOKED": "The auth session has been revoked.",
"error.REFRESH_TOKEN_INVALID": "The refresh token is invalid.",
"error.REFRESH_TOKEN_REUSED": "The refresh token has already been used.",
"error.AUTH_SESSION_TEMPORARILY_UNAVAILABLE": "Auth session service is temporarily unavailable.",
"error.ACTION_FORBIDDEN": "You are not allowed to perform this action.",
"error.ACCESS_DENIED": "You do not have permission to access this resource.",
"error.EMAIL_VERIFICATION_REQUIRED": "You must verify your email before accessing this resource.",