ProviderMode

public enum ProviderMode : Codable, CaseIterable, Hashable, SelfIdentifiable

A value representing an authentication provider mode.

It is used to provide specific password handling mode (‘password’ or ‘otp’) of email or phone authentication methods

Cases

  • otp

    The otp provider mode.

    Declaration

    Swift

    case otp
  • The password provider mode.

    Declaration

    Swift

    case password
  • Unknown provider mode.

    Declaration

    Swift

    case unknown

API

  • The pretty name of this provider mode.

    Declaration

    Swift

    public var prettyName: String { get }

Initializers

  • Declaration

    Swift

    public init(from decoder: Decoder) throws

Encodable Protocol

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws