Member Junction
    Preparing search index...
    ParseNotificationResult: BaseMessageResult & {
        Handshake?: {
            ResponseBody: string;
            ResponseContentType: string;
            ResponseStatus: number;
        };
        Notifications: NormalizedNotification[];
        SignatureValid?: boolean;
        SuggestedResponseStatus: number;
    }

    Result of parsing an inbound push notification via BaseCommunicationProvider.ParseNotification.

    Type Declaration

    • OptionalHandshake?: { ResponseBody: string; ResponseContentType: string; ResponseStatus: number }

      Endpoint-validation handshake (Graph validationToken). When set, the consumer MUST send exactly this response and process nothing else.

      • ResponseBody: string

        The exact body to respond with (the validation token).

      • ResponseContentType: string

        The Content-Type to respond with (Graph handshake: 'text/plain').

      • ResponseStatus: number

        The HTTP status to respond with (Graph handshake: 200).

    • Notifications: NormalizedNotification[]

      The normalized notifications extracted from the payload (one per item in the service's batch). Empty for handshake and malformed-input results.

    • OptionalSignatureValid?: boolean

      Cryptographic signature-verification outcome, where the provider has a scheme (Twilio HMAC, SendGrid ECDSA). undefined = no signature scheme exists (Graph) - the consumer authenticates via NormalizedNotification.ClientState instead.

    • SuggestedResponseStatus: number

      The HTTP status the consumer should respond with after accepting (Graph expects a fast 202).