Protocols

The following protocols are available globally.

  • An interface that should be implemented by classes that need to be aware of the ContinueNode. The continueNode will be injected to the classes that implement this interface.

    See more

    Declaration

    Swift

    public protocol ContinueNodeAware
  • Represents a ModuleRegistry protocol. A ModuleRegistry represents a registry of modules in the application.

    See more

    Declaration

    Swift

    public protocol ModuleRegistryProtocol<Config> : Sendable
  • Protocol for actions

    Declaration

    Swift

    public protocol Action : Sendable
  • Protocol for closeable resources

    See more

    Declaration

    Swift

    public protocol Closeable : Sendable
  • Protocol for Node. Represents a node in the workflow.

    Declaration

    Swift

    public protocol Node : Sendable
  • Protocol for a Session. A Session represents a user’s session in the application.

    See more

    Declaration

    Swift

    public protocol Session : Sendable
  • A protocol for callback/collector-level request interception.

    Conforming types (e.g., IdpCollector) can modify the outgoing HTTP request when a ContinueNode builds its submission request via asRequest(). This is invoked per-callback/collector inside Journey’s JourneyContinueNode and DaVinci’s Connector, allowing individual actions to inject headers, parameters, or replace the request entirely based on their internal state.

    For workflow-wide request customization, use modules like CustomHeader instead.

    Note

    Not related to HttpRequestInterceptor in PingNetwork, which operates at the HTTP client transport level via HttpClientConfig.onRequest(_:).
    See more

    Declaration

    Swift

    public protocol RequestInterceptor