[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/errors](https://jsprismarine.dev/api/@jsprismarine/errors/index.md) / auth

# auth

## Classes

- [LoginRefused](https://jsprismarine.dev/api/@jsprismarine/errors/auth/classes/LoginRefused.md)

## 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](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/auth.ts#L854)

The errors `@jsprismarine/auth` throws.
