aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/server-error-code.enum.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/server/server-error-code.enum.ts')
-rw-r--r--shared/models/server/server-error-code.enum.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/shared/models/server/server-error-code.enum.ts b/shared/models/server/server-error-code.enum.ts
index 93b9ce20d..43996e7aa 100644
--- a/shared/models/server/server-error-code.enum.ts
+++ b/shared/models/server/server-error-code.enum.ts
@@ -48,5 +48,13 @@ export const enum OAuth2ErrorCode {
48 * 48 *
49 * @see https://github.com/oauthjs/node-oauth2-server/blob/master/lib/errors/invalid-client-error.js 49 * @see https://github.com/oauthjs/node-oauth2-server/blob/master/lib/errors/invalid-client-error.js
50 */ 50 */
51 INVALID_CLIENT = 'invalid_client' 51 INVALID_CLIENT = 'invalid_client',
52
53
54 /**
55 * The access token provided is expired, revoked, malformed, or invalid for other reasons
56 *
57 * @see https://github.com/oauthjs/node-oauth2-server/blob/master/lib/errors/invalid-token-error.js
58 */
59 INVALID_TOKEN = 'invalid_token',
52} 60}