Crosswake. Companions. Sigra. AuthReturn
(crosswake v0.1.2)
View Source
Pure Sigra auth-return boundary contracts.
OAuth callbacks, passkey assertions, native deep links, and shell bridge
events are evidence only. Host-owned return attempt records and projected
SessionAuthorityLane structs remain the authority source of truth for replay,
expiry, route binding, and session promotion.
Summary
Functions
@spec kinds() :: [atom()]
@spec lifecycle_states() :: [atom()]
@spec link_verification_values() :: [atom()]
@spec transports() :: [atom()]
@spec validate_attempt_record(Crosswake.Companions.Sigra.AuthReturn.AttemptRecord.t()) :: :ok | {:error, keyword()}
@spec validate_audit_event(Crosswake.Companions.Sigra.AuthReturn.AuditEvent.t()) :: :ok | {:error, keyword()}
@spec validate_completion(Crosswake.Companions.Sigra.AuthReturn.Completion.t()) :: :ok | {:error, keyword()}
@spec validate_envelope(Crosswake.Companions.Sigra.AuthReturn.Envelope.t()) :: :ok | {:error, keyword()}
@spec validate_native_evidence( Crosswake.Companions.Sigra.AuthReturn.NativeEvidence.t() ) :: :ok | {:error, keyword()}
@spec validate_oauth_evidence(Crosswake.Companions.Sigra.AuthReturn.OAuthEvidence.t()) :: :ok | {:error, keyword()}
@spec validate_passkey_evidence( Crosswake.Companions.Sigra.AuthReturn.PasskeyEvidence.t() ) :: :ok | {:error, keyword()}
@spec validate_validation_request( Crosswake.Companions.Sigra.AuthReturn.ValidationRequest.t() ) :: :ok | {:error, keyword()}