Identifier

public enum Identifier : IdentifierProtocol

Represents an identier that is used to initiate login processes

  • User identifier representing a phone number

    Declaration

    Swift

    case phone(PhoneNumber)
  • User identifier representing an email address

    Declaration

    Swift

    case email(EmailAddress)
  • Declaration

    Swift

    public init(_ email: EmailAddress)
  • Declaration

    Swift

    public init(_ phone: PhoneNumber)
  • The string that is provided during initialization

    Declaration

    Swift

    public var originalString: String { get }
  • The normalized form used internally (may or may not be different)

    Declaration

    Swift

    public var normalizedString: String { get }
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public static func == (lhs: Identifier, rhs: Identifier) -> Bool