RefreshTokensErrors

@accounts/serverGlobalsRefreshTokensErrors

Index

Enumeration members

Enumeration members

InvalidSession

InvalidSession: = "InvalidSession"

Defined in packages/server/src/errors.ts:80

Session is not valid


InvalidTokens

InvalidTokens: = "InvalidTokens"

Defined in packages/server/src/errors.ts:64

Will throw if access or refresh token are missing.


SessionNotFound

SessionNotFound: = "SessionNotFound"

Defined in packages/server/src/errors.ts:72

Will throw if session is not found.


TokenVerificationFailed

TokenVerificationFailed: = "TokenVerificationFailed"

Defined in packages/server/src/errors.ts:68

Will throw if verification of the access token or refresh token failed.


UserNotFound

UserNotFound: = "UserNotFound"

Defined in packages/server/src/errors.ts:76

Will throw if user is not found.