Protocols

The following protocols are available globally.

  • Protocol encapsulating properties and methods related to credentials used to authenticate to the backend.

    See more

    Declaration

    Swift

    public protocol AuthenticationInfo
  • Protocol encapsulating properties and methods required to be implemented by all authentication providers.

    See more

    Declaration

    Swift

    public protocol AuthenticationProvider
  • Utility for generating a password to satisfy a specified password policy.

    See more

    Declaration

    Swift

    public protocol PasswordGenerator
  • Protocol encapsulating a set of methods and properties that are needed to serialized and deserialize an object to and from a byte array, e.g. Data.

    See more

    Declaration

    Swift

    public protocol SerializableObject
  • Protocol for sign in status observer. If you wish to observe the the changes to the progress of sign in or refresh token operation then you must implement this protocol.

    See more

    Declaration

    Swift

    public protocol SignInStatusObserver
  • Protocol encapsulating a library of functions for calling Sudo Platform identity services, managing keys, performing cryptographic operations.

    See more

    Declaration

    Swift

    public protocol SudoUserClient : AnyObject