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
-
The otp provider mode.
Declaration
Swift
case otp
-
The password provider mode.
Declaration
Swift
case password
-
Unknown provider mode.
Declaration
Swift
case unknown
-
The pretty name of this provider mode.
Declaration
Swift
public var prettyName: String { get }
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws