ping-identity
    Preparing search index...

    Type Alias PhoneNumberCollector

    PhoneNumberCollector: BaseCollector & {
        countryCode: string;
        defaultCountryCode: string;
        phoneNumber: string;
        type: "PHONE_NUMBER";
        validatePhoneNumber: boolean;
    }

    Phone number input collector.

    Type Declaration

    • countryCode: string

      Currently entered country code (mutable).

    • defaultCountryCode: string

      Default country code from server configuration (read-only).

    • phoneNumber: string

      Currently entered phone number (mutable).

    • type: "PHONE_NUMBER"
    • validatePhoneNumber: boolean

      Whether phone number format validation is enabled (read-only).

    extension, showExtension, and extensionLabel do not exist in the 2.0.1 Android/iOS SDK sources and are therefore absent from this contract. TODO-SDK-FUTURE-SUPPORT: add extension, showExtension, and extensionLabel when the SDK version that exposes it.