PhoneAuthListener
interface
The listener function returned from a auth#verifyPhoneNumber
call.
Methods
catch
</>A promise handler called once the on
listener flow has rejected.
catch(onRejected: (a: NativeFirebaseError) => any): Promise<any>;
on
</>The phone auth state listener. See PhoneAuthState
for different event state types.
on(event: string, observer: (snapshot: PhoneAuthSnapshot) => void, errorCb?: undefined | (error: PhoneAuthError) => void, successCb?: undefined | (snapshot: PhoneAuthSnapshot) => void): PhoneAuthListener;
then
</>A promise handler called once the on
listener flow has succeeded or rejected.
then(onFulfilled?: (a: PhoneAuthSnapshot) => any | null, onRejected?: (a: NativeFirebaseError) => any | null): Promise<any>;