Other Protocols

The following protocols are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public protocol AuxiliaryDataServiceProviding
  • Undocumented

    See more

    Declaration

    Swift

    public protocol AuxiliaryCommunicationProviding
  • Undocumented

    See more

    Declaration

    Swift

    public protocol AuxiliaryDataContainerRepresenting : Decodable, Encodable
  • Undocumented

    See more

    Declaration

    Swift

    public protocol AuxiliaryDataRequestRepresenting
  • Undocumented

    See more

    Declaration

    Swift

    public protocol AuxiliaryKeyContainerRepresenting : Decodable, Encodable, Hashable
  • Performs digital signature verification on a signed message The conforming type is passed the message, signature, public key and related signature parameters required for the verification process.

    See more

    Declaration

    Swift

    public protocol DigitalSignatureVerifying
  • A type which can be used to denote content that was digitally signed

    See more

    Declaration

    Swift

    public protocol DigitallySignedMessage
  • A parser to be used in the context of Digital Signature Verification Conforming types are passed the input and expected to return an instance of DigitallySignedMessage

    See more

    Declaration

    Swift

    public protocol DigitallySignedMessageParser
  • Implement this protocol in a class or struct when you want to observe and react to LockAndWipe events.

    Conforming type should register themselve as observer in LockAndWipeEventDispatcher. When a Lock or Wipe events occurs, the observing object will receive appropriate callbacks to handle the event.

    Example Usage:

     class LockAndWipeEventObserver: LockAndWipeEventObserving {
         func willLock() {
             // Perform an action before the Lock occurs.
         }
    
         func willWipe() {
             // Perform an action before the Wipe occurs.
         }
    
         func didLock() {
             // Handle Lock event
         }
    
         func didWipe() {
             // Handle Wipe event
         }
     }
    
     let observer = LockAndWipeEventObserver()
     LockAndWipeManager.shared.register(observer)
    
    See more

    Declaration

    Swift

    public protocol LockAndWipeEventObserving : EventObserving
  • Protocol to get the apikeycredential from the user

    See more

    Declaration

    Swift

    public protocol APIKeyCredentialDiscovery : AnyObject
  • Implementers must be capable of clearing token from the Token Store.

    See more

    Declaration

    Swift

    public protocol TokenStoreManaging : AnyObject
  • Undocumented

    See more

    Declaration

    Swift

    public protocol EventDispatching
  • Undocumented

    See more

    Declaration

    Swift

    public protocol EventObserving : AnyObject
  • This protocol defines an API which makes possible to observe and react to the UISceneDelegate’s methods.

    See more

    Declaration

    Swift

    public protocol SceneDelegateObserving : EventObserving
  • Convenience functions to obtain and apply OAuth2TokenStore data.

    Useful when sending the dictionary to a watch extension with WatchConnectivity.WCSession.transferUserInfo(_:)

    See more

    Declaration

    Swift

    public protocol OAuth2TokenStoreUserInfoTransforming
  • This protocol extends the WKUIDelegate with SAP specific functionality.

    See more

    Declaration

    Swift

    public protocol SAPWKUIDelegate : AnyObject
  • which can be used metering, e2etracing and other possible use-cases.

    See more

    Declaration

    Swift

    public protocol SAPPassportManaging
  • A protocol defining a method to determine if a URL matches certain criteria.

    See more

    Declaration

    Swift

    public protocol URLMatching
  • A protocol that objects adopt to provide functional copies of themselves.

    See more

    Declaration

    Swift

    public protocol OptionalCopying
  • Implementers must implement this for managing Locked or Wiped Users.

    See more

    Declaration

    Swift

    public protocol LockAndWipeManaging
  • The CrashReporting provides an API to initialise/collect crash logs and to upload it some server.

    See more

    Declaration

    Swift

    public protocol SAPCrashReporting
  • Implement this protocol in a class or struct when you want to observe and react to user events.

    Conforming type should register themselve as observer in UserEventDispatcher. When a user event occurs, the observing object will receive appropriate callbacks to handle the event.

    Example Usage:

     class UserEventObserver: UserEventObserving {
         func userAdded(with onboardingID: UUID) {
             // Handle User Added event
         }
    
         func userSwitched(with onboardingID: UUID) {
             // Handle User Switch event
         }
     }
    
     let observer = UserEventObserver()
     UserEventDispatcher.shared.registerObserver(observer)
    
    See more

    Declaration

    Swift

    public protocol UserEventObserving : EventObserving