Skip to content

API reference / @jsprismarine/errors / auth

auth ​

Classes ​

Variables ​

AuthErrors ​

const AuthErrors: Readonly<{ AccountUnverifiable: typeof AccountUnverifiable; ChainNamesNoAccount: typeof ChainNamesNoAccount; ClientDataNotSignedByAccountKey: typeof ClientDataNotSignedByAccountKey; ConnectionRequestIsNotJsonObject: typeof ConnectionRequestIsNotJsonObject; IdentityDoesNotProveLoginKey: typeof IdentityDoesNotProveLoginKey; InvalidLogin: typeof InvalidLogin; IssuerKeysCouldNotBeFetched: typeof IssuerKeysCouldNotBeFetched; LoginExpired: typeof LoginExpired; NoMultiplayerToken: typeof NoMultiplayerToken; NoToken: typeof NoToken; PrismarineAuthNotInstalled: typeof PrismarineAuthNotInstalled; PrismarineAuthUnrecognized: typeof PrismarineAuthUnrecognized; TokenExpired: typeof TokenExpired; TokenHasWrongClaim: typeof TokenHasWrongClaim; TokenIsNotValidJws: typeof TokenIsNotValidJws; TokenLacksAccountOrClientKey: typeof TokenLacksAccountOrClientKey; TokenNamesAnotherIssuer: typeof TokenNamesAnotherIssuer; TokenNamesNoKey: typeof TokenNamesNoKey; TokenNamesUnusableClientKey: typeof TokenNamesUnusableClientKey; TokenNotValidYet: typeof TokenNotValidYet; TokenSignatureDoesNotMatch: typeof TokenSignatureDoesNotMatch; TokenUsesRefusedAlgorithm: typeof TokenUsesRefusedAlgorithm; UnknownTokenKey: typeof UnknownTokenKey; UnsupportedAuthenticationType: typeof UnsupportedAuthenticationType; XboxLoginRequired: typeof XboxLoginRequired; XboxSignInRequired: typeof XboxSignInRequired; }>

Defined in: packages/errors/src/auth.ts:854

The errors @jsprismarine/auth throws.