SAPPassportManaging

public protocol SAPPassportManaging

which can be used metering, e2etracing and other possible use-cases.

  • Returns a passport instance associated with the current session. Implementers may choose to generate a new Passport if it doesn’t exist, during the initial call.

    Throws

    PassportError

    Declaration

    Swift

    func getPassport() throws -> Passport

    Return Value

    passport instance associated with the current session.

  • Associates a passport instance with the current session.

    Declaration

    Swift

    func setPassport(_ passport: Passport)

    Parameters

    passport

    passport to be associated with the current session

  • Clears the passport associated with the current session, if any.

    Declaration

    Swift

    func clearPassport()