AuthenticationProviderIdentity

public protocol AuthenticationProviderIdentity

A type representing an identity for a provider.

Such an identity is obtained using an authentication method.

Requirements

  • The provider of the identity.

    Declaration

    Swift

    var provider: AuthenticationProvider { get }
  • The unique identifier of the user for the provider.

    Declaration

    Swift

    var providerUID: String { get }
  • Optional mode for the provider (only for phone or email providers, may be “password” or “otp”).

    Declaration

    Swift

    var providerMode: AuthenticationProvider.ProviderMode? { get }