Protocols

The following protocols are available globally.

  • A protocol representing a Single Sign-On (SSO) token with session information.

    SSOToken extends the Session protocol to provide additional authentication context including the success URL and realm. Types conforming to this protocol can be used throughout the Journey framework for session management and storage.

    Conforming types must be both Codable (for serialization/deserialization) and inherit from Session (providing the session value).

    See also

    SSOTokenImpl for the concrete implementation

    See also

    SessionConfig for configuring SSO token storage
    See more

    Declaration

    Swift

    public protocol SSOToken : Session, Decodable, Encodable