Deprecated

Please use IdGuardErrors instead, e.g.

import { IdGuardErrors } from '@axinom/mosaic-id-guard';

console.log(IdGuardErrors.AccessTokenRequired.code);

This is only guaranteed to stay until the end of October 2022.

Enumeration Members

AccessTokenExpired: "ACCESS_TOKEN_EXPIRED"
AccessTokenInvalid: "ACCESS_TOKEN_INVALID"
AccessTokenRequired: "ACCESS_TOKEN_REQUIRED"
AccessTokenVerificationFailed: "ACCESS_TOKEN_VERIFICATION_FAILED"
AuthConfigInvalid: "AUTH_CONFIG_INVALID"
IdentityServiceNotAccessible: "IDENTITY_SERVICE_NOT_ACCESSIBLE"
JwksError: "JWKS_ERROR"
MalformedToken: "MALFORMED_TOKEN"
SigningKeyNotFound: "SIGNING_KEY_NOT_FOUND"
UserNotAuthorized: "USER_NOT_AUTHORIZED"
UserServiceNotAccessible: "USER_SERVICE_NOT_ACCESSIBLE"

Generated using TypeDoc