API reference / @jsprismarine/errors / auth
auth
Classes
Variables
AuthErrors
constAuthErrors:Readonly<{AccountUnverifiable: typeofAccountUnverifiable;ChainNamesNoAccount: typeofChainNamesNoAccount;ClientDataNotSignedByAccountKey: typeofClientDataNotSignedByAccountKey;ConnectionRequestIsNotJsonObject: typeofConnectionRequestIsNotJsonObject;IdentityDoesNotProveLoginKey: typeofIdentityDoesNotProveLoginKey;InvalidLogin: typeofInvalidLogin;IssuerKeysCouldNotBeFetched: typeofIssuerKeysCouldNotBeFetched;LoginExpired: typeofLoginExpired;NoMultiplayerToken: typeofNoMultiplayerToken;NoToken: typeofNoToken;PrismarineAuthNotInstalled: typeofPrismarineAuthNotInstalled;PrismarineAuthUnrecognized: typeofPrismarineAuthUnrecognized;TokenExpired: typeofTokenExpired;TokenHasWrongClaim: typeofTokenHasWrongClaim;TokenIsNotValidJws: typeofTokenIsNotValidJws;TokenLacksAccountOrClientKey: typeofTokenLacksAccountOrClientKey;TokenNamesAnotherIssuer: typeofTokenNamesAnotherIssuer;TokenNamesNoKey: typeofTokenNamesNoKey;TokenNamesUnusableClientKey: typeofTokenNamesUnusableClientKey;TokenNotValidYet: typeofTokenNotValidYet;TokenSignatureDoesNotMatch: typeofTokenSignatureDoesNotMatch;TokenUsesRefusedAlgorithm: typeofTokenUsesRefusedAlgorithm;UnknownTokenKey: typeofUnknownTokenKey;UnsupportedAuthenticationType: typeofUnsupportedAuthenticationType;XboxLoginRequired: typeofXboxLoginRequired;XboxSignInRequired: typeofXboxSignInRequired; }>
Defined in: packages/errors/src/auth.ts:854
The errors @jsprismarine/auth throws.