Crosswake.Companions.Chimeway.DenialCodes (crosswake v0.1.2)

View Source

Canonical denial subcodes and sanitization for Chimeway notification open intents.

Summary

Functions

notification_open_action_mismatch()

@spec notification_open_action_mismatch() :: String.t()

notification_open_binding_mismatch()

@spec notification_open_binding_mismatch() :: String.t()

notification_open_binding_revoked()

@spec notification_open_binding_revoked() :: String.t()

notification_open_expired()

@spec notification_open_expired() :: String.t()

notification_open_policy_denied()

@spec notification_open_policy_denied() :: String.t()

notification_open_replayed()

@spec notification_open_replayed() :: String.t()

notification_open_route_mismatch()

@spec notification_open_route_mismatch() :: String.t()

notification_open_unsupported_action()

@spec notification_open_unsupported_action() :: String.t()

sanitize_details(details)

@spec sanitize_details(map()) :: map()

Sanitizes details, explicitly dropping any keys not in the allowlist to prevent PII, tokens, or opaque raw payload data from leaking to telemetry or unverified clients.