Axinom Mosaic Libraries
    Preparing search index...

    Variable IdGuardErrorsConst

    IdGuardErrors: {
        AccessTokenExpired: {
            code: "ACCESS_TOKEN_EXPIRED";
            message: "Access Token has expired.";
        };
        AccessTokenInvalid: {
            code: "ACCESS_TOKEN_INVALID";
            message: "Access Token is invalid";
        };
        AccessTokenRequired: {
            code: "ACCESS_TOKEN_REQUIRED";
            message: "Access Token is not provided";
        };
        AccessTokenVerificationFailed: {
            code: "ACCESS_TOKEN_VERIFICATION_FAILED";
            message: "Access token verification failed";
        };
        AuthConfigInvalid: {
            code: "AUTH_CONFIG_INVALID";
            message: "Auth config is invalid.";
        };
        AuthenticatedEndUserNotFound: {
            code: "AUTHENTICATED_END_USER_NOT_FOUND";
            message: "Authenticated End User not found.";
        };
        AuthenticatedManagementSubjectNotFound: {
            code: "AUTHENTICATED_MANAGEMENT_SUBJECT_NOT_FOUND";
            message: "Authenticated Management Subject not found.";
        };
        AuthorizationOptionsMisconfigured: {
            code: "AUTHORIZATION_OPTIONS_MISCONFIGURED";
            message: "A Permission Definition or an EndUserAuthorizationConfig was not found to be passed into Postgraphile build options. This is a development time issue.";
        };
        IdentityServiceNotAccessible: {
            code: "IDENTITY_SERVICE_NOT_ACCESSIBLE";
            message: "The Identity service is not accessible. Please contact Axinom support.";
        };
        JwksError: {
            code: "JWKS_ERROR";
            message: "Error occurred while trying to fetch signing keys from the JWKS endpoint for the Tenant/Environment/Application.";
        };
        JwtIsNotMosaicEndUserToken: {
            code: "JWT_IS_NOT_MOSAIC_TOKEN";
            message: "Passed JWT is not a Mosaic End-User Token. Cannot be verified.";
        };
        MalformedToken: {
            code: "MALFORMED_TOKEN";
            message: "Malformed access token received";
        };
        NotAuthenticatedEndUser: {
            code: "NOT_AUTHENTICATED_END_USER";
            message: "The token is not an Authenticated End-User";
        };
        NotAuthenticatedManagementSubject: {
            code: "NOT_AUTHENTICATED_MANAGEMENT_SUBJECT";
            message: "The object is not a AuthenticatedManagementSubject";
        };
        NotAuthenticatedRequest: {
            code: "NOT_AUTHENTICATED_REQUEST";
            message: "The object is not a AuthenticatedRequest";
        };
        NotEndUserApplication: {
            code: "NOT_END_USER_APPLICATION";
            message: "The token is not an End-User Application";
        };
        NotEndUserAuthenticationContext: {
            code: "NOT_END_USER_AUTHENTICATION_CONTEXT";
            message: "The object is not an EndUserAuthenticationContext";
        };
        NotGenericAuthenticatedSubject: {
            code: "NOT_GENERIC_AUTHENTICATED_SUBJECT";
            message: "The object is not a GenericAuthenticatedSubject";
        };
        NotManagementAuthenticationContext: {
            code: "NOT_MANAGEMENT_AUTHENTICATION_CONTEXT";
            message: "The object is not a ManagementAuthenticationContext";
        };
        SigningKeyNotFound: {
            code: "SIGNING_KEY_NOT_FOUND";
            message: "Could not find a matching signing key to verify the access token. The signing key used to create the token may have been revoked or the Tenant/Environment/Application configuration is erroneous.";
        };
        SubjectNotFound: {
            code: "SUBJECT_NOT_FOUND";
            message: "User is authenticated, but subject information was not found. Please contact Axinom Support.";
        };
        Unauthorized: {
            code: "UNAUTHORIZED";
            message: "The subject has no permissions.";
        };
        UserNotAuthorized: {
            code: "USER_NOT_AUTHORIZED";
            message: "User is not authorized to access the operation.";
        };
        UserServiceNotAccessible: {
            code: "USER_SERVICE_NOT_ACCESSIBLE";
            message: "The User service is not accessible. Please contact Axinom support.";
        };
        WebSocketNotFound: {
            code: "WEBSOCKET_NOT_FOUND";
            message: "Websocket not found in ExtendedGraphQLContext. This is a development time issue. A reference to the websocket must be included in Postgraphile build options.";
        };
    } = ...

    Type Declaration

    • ReadonlyAccessTokenExpired: { code: "ACCESS_TOKEN_EXPIRED"; message: "Access Token has expired." }
    • ReadonlyAccessTokenInvalid: { code: "ACCESS_TOKEN_INVALID"; message: "Access Token is invalid" }
    • ReadonlyAccessTokenRequired: { code: "ACCESS_TOKEN_REQUIRED"; message: "Access Token is not provided" }
    • ReadonlyAccessTokenVerificationFailed: {
          code: "ACCESS_TOKEN_VERIFICATION_FAILED";
          message: "Access token verification failed";
      }
    • ReadonlyAuthConfigInvalid: { code: "AUTH_CONFIG_INVALID"; message: "Auth config is invalid." }
    • ReadonlyAuthenticatedEndUserNotFound: {
          code: "AUTHENTICATED_END_USER_NOT_FOUND";
          message: "Authenticated End User not found.";
      }
    • ReadonlyAuthenticatedManagementSubjectNotFound: {
          code: "AUTHENTICATED_MANAGEMENT_SUBJECT_NOT_FOUND";
          message: "Authenticated Management Subject not found.";
      }
    • ReadonlyAuthorizationOptionsMisconfigured: {
          code: "AUTHORIZATION_OPTIONS_MISCONFIGURED";
          message: "A Permission Definition or an EndUserAuthorizationConfig was not found to be passed into Postgraphile build options. This is a development time issue.";
      }
    • ReadonlyIdentityServiceNotAccessible: {
          code: "IDENTITY_SERVICE_NOT_ACCESSIBLE";
          message: "The Identity service is not accessible. Please contact Axinom support.";
      }
    • ReadonlyJwksError: {
          code: "JWKS_ERROR";
          message: "Error occurred while trying to fetch signing keys from the JWKS endpoint for the Tenant/Environment/Application.";
      }
    • ReadonlyJwtIsNotMosaicEndUserToken: {
          code: "JWT_IS_NOT_MOSAIC_TOKEN";
          message: "Passed JWT is not a Mosaic End-User Token. Cannot be verified.";
      }
    • ReadonlyMalformedToken: { code: "MALFORMED_TOKEN"; message: "Malformed access token received" }
    • ReadonlyNotAuthenticatedEndUser: {
          code: "NOT_AUTHENTICATED_END_USER";
          message: "The token is not an Authenticated End-User";
      }
    • ReadonlyNotAuthenticatedManagementSubject: {
          code: "NOT_AUTHENTICATED_MANAGEMENT_SUBJECT";
          message: "The object is not a AuthenticatedManagementSubject";
      }
    • ReadonlyNotAuthenticatedRequest: {
          code: "NOT_AUTHENTICATED_REQUEST";
          message: "The object is not a AuthenticatedRequest";
      }
    • ReadonlyNotEndUserApplication: {
          code: "NOT_END_USER_APPLICATION";
          message: "The token is not an End-User Application";
      }
    • ReadonlyNotEndUserAuthenticationContext: {
          code: "NOT_END_USER_AUTHENTICATION_CONTEXT";
          message: "The object is not an EndUserAuthenticationContext";
      }
    • ReadonlyNotGenericAuthenticatedSubject: {
          code: "NOT_GENERIC_AUTHENTICATED_SUBJECT";
          message: "The object is not a GenericAuthenticatedSubject";
      }
    • ReadonlyNotManagementAuthenticationContext: {
          code: "NOT_MANAGEMENT_AUTHENTICATION_CONTEXT";
          message: "The object is not a ManagementAuthenticationContext";
      }
    • ReadonlySigningKeyNotFound: {
          code: "SIGNING_KEY_NOT_FOUND";
          message: "Could not find a matching signing key to verify the access token. The signing key used to create the token may have been revoked or the Tenant/Environment/Application configuration is erroneous.";
      }
    • ReadonlySubjectNotFound: {
          code: "SUBJECT_NOT_FOUND";
          message: "User is authenticated, but subject information was not found. Please contact Axinom Support.";
      }
    • ReadonlyUnauthorized: { code: "UNAUTHORIZED"; message: "The subject has no permissions." }
    • ReadonlyUserNotAuthorized: {
          code: "USER_NOT_AUTHORIZED";
          message: "User is not authorized to access the operation.";
      }
    • ReadonlyUserServiceNotAccessible: {
          code: "USER_SERVICE_NOT_ACCESSIBLE";
          message: "The User service is not accessible. Please contact Axinom support.";
      }
    • ReadonlyWebSocketNotFound: {
          code: "WEBSOCKET_NOT_FOUND";
          message: "Websocket not found in ExtendedGraphQLContext. This is a development time issue. A reference to the websocket must be included in Postgraphile build options.";
      }