JourneyConfig

public class JourneyConfig : WorkflowConfig, @unchecked Sendable

Configuration for Journey workflows.

Conforms to WorkflowConfig and Sendable, and holds parameters required to communicate with the Journey backend.

Important

Provide serverUrl and realm appropriate to your deployment.
  • The base URL of the server handling Journey requests, for example: https://example.am.com/am

    Declaration

    Swift

    public var serverUrl: String?
  • The realm used for authentication and callback endpoints. Defaults to the value in JourneyConstants.realm.

    Declaration

    Swift

    public var realm: String
  • The cookie name used by the Journey backend. Defaults to JourneyConstants.cookie.

    Declaration

    Swift

    public var cookie: String