Crosswake. Companions. Chimeway. Contracts
(crosswake v0.1.2)
View Source
Provider-neutral Chimeway token evidence and binding contracts.
Token evidence is diagnostic/provider evidence only. Backend-owned token bindings decide lifecycle state; neither evidence nor provider feedback grants auth, session, route, notification-open, or delivery authority.
Summary
Functions
@spec app_identity_postures() :: [atom()]
@spec binding_event_types() :: [atom()]
@spec binding_reasons() :: [atom()]
@spec binding_result_statuses() :: [atom()]
@spec binding_states() :: [atom()]
@spec environments() :: [atom()]
@spec forbidden_public_token_keys() :: [atom()]
@spec lifecycle_mapping() :: map()
@spec notification_statuses() :: [atom()]
@spec platforms() :: [atom()]
@spec provider_feedback_events() :: [atom()]
@spec provider_handoff_event() :: :delivery_accepted
@spec providers() :: [atom()]
@spec validate_binding_event(Crosswake.Companions.Chimeway.Contracts.BindingEvent.t()) :: :ok | {:error, keyword()}
@spec validate_binding_result( Crosswake.Companions.Chimeway.Contracts.BindingResult.t() ) :: :ok | {:error, keyword()}
@spec validate_notification_open_evidence( Crosswake.Companions.Chimeway.Contracts.NotificationOpenEvidence.t() ) :: :ok | {:error, keyword()}
@spec validate_open_resolution( Crosswake.Companions.Chimeway.Contracts.OpenResolution.t() ) :: :ok | {:error, keyword()}
@spec validate_provider_feedback( Crosswake.Companions.Chimeway.Contracts.ProviderFeedback.t() ) :: :ok | {:error, keyword()}
@spec validate_token_binding(Crosswake.Companions.Chimeway.Contracts.TokenBinding.t()) :: :ok | {:error, keyword()}
@spec validate_token_evidence( Crosswake.Companions.Chimeway.Contracts.TokenEvidence.t() ) :: :ok | {:error, keyword()}