PhoneNumberAuthenticationSettings

public struct PhoneNumberAuthenticationSettings : Codable, Equatable, FunctionResult

Contains settings for the authentication of the user’s phone number

  • Pass true if the authentication code may be sent via flash call to the specified phone number

    Declaration

    Swift

    public let allowFlashCall: Bool
  • Pass true if the authenticated phone number is used on the current device

    Declaration

    Swift

    public let isCurrentPhoneNumber: Bool
  • For official applications only. True, if the app can use Android SMS Retriever API (requires Google Play Services >= 10.2) to automatically receive the authentication code from the SMS. See https://developers.google.com/identity/sms-retriever/ for more details

    Declaration

    Swift

    public let allowSmsRetrieverApi: Bool
  • Contains settings for the authentication of the user’s phone number

    Declaration

    Swift

    public init(allowFlashCall: Bool, isCurrentPhoneNumber: Bool, allowSmsRetrieverApi: Bool)

    Parameters

    allowFlashCall

    Pass true if the authentication code may be sent via flash call to the specified phone number

    isCurrentPhoneNumber

    Pass true if the authenticated phone number is used on the current device

    allowSmsRetrieverApi

    For official applications only. True, if the app can use Android SMS Retriever API (requires Google Play Services >= 10.2) to automatically receive the authentication code from the SMS. See https://developers.google.com/identity/sms-retriever/ for more details