React Native Firebase
    Preparing search index...

    The entry point for most multi-factor operations.

    interface MultiFactorUser {
        enrolledFactors: MultiFactorInfo[];
        enroll(
            assertion: MultiFactorAssertion,
            displayName?: string,
        ): Promise<void>;
        getSession(): Promise<MultiFactorSession>;
        unenroll(option: string | MultiFactorInfo): Promise<void>;
    }
    Index

    Methods

    • Enroll an additional factor. Provide an optional display name that can be shown to the user. The method will ensure the user state is reloaded after successfully enrolling a factor.

      Parameters

      Returns Promise<void>

    Properties

    enrolledFactors: MultiFactorInfo[]

    Returns the user's enrolled factors.