Protocols

The following protocols are available globally.

  • Responsible for managing the authentication flow for browser based federated sign in.

    See more

    Declaration

    Swift

    public protocol AuthUI : AnyObject
  • 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
  • Interface common to credential providers. Mainly used for mocking AWS Cognito credentials provider.

    See more

    Declaration

    Swift

    public protocol CredentialsProvider : AnyObject
  • Encapsulates interface requirements for an external identity provider to register and authenticate an identity within Sudo platform ecosystem.

    See more

    Declaration

    Swift

    public protocol IdentityProvider : AnyObject
  • 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