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

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

Generated using TypeDoc