All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.firebase.auth.PhoneAuthProvider Maven / Gradle / Ivy

Go to download

The Firebase Java SDK is a pure java port of the Firebase Android SDK to run in clientside java environments such as the desktop.

The newest version!
package com.google.firebase.auth;

import android.app.Activity;
import com.google.firebase.FirebaseException;
import kotlin.NotImplementedError;

import java.util.concurrent.TimeUnit;

public class PhoneAuthProvider {
    public static PhoneAuthCredential getCredential(String email, String password) {
        throw new NotImplementedError();
    }
    public static PhoneAuthProvider getInstance(FirebaseAuth auth) {
        throw new NotImplementedError();
    }

    public void verifyPhoneNumber(String phoneNumber, long timeout, TimeUnit unit, Activity activity, PhoneAuthProvider.OnVerificationStateChangedCallbacks callbacks) {
        throw new NotImplementedError();
    }

    public void verifyPhoneNumber(String phoneNumber, long timeout, TimeUnit unit, Activity activity, PhoneAuthProvider.OnVerificationStateChangedCallbacks callbacks, ForceResendingToken forceResending) {
        throw new NotImplementedError();
    }

    public static abstract class OnVerificationStateChangedCallbacks {
        public void onCodeAutoRetrievalTimeOut(String verificationId) {
            throw new NotImplementedError();
        }
        public void onCodeSent(String verificationId, PhoneAuthProvider.ForceResendingToken forceResendingToken) {
            throw new NotImplementedError();
        }
        public abstract void onVerificationCompleted(PhoneAuthCredential credential);
        public abstract void onVerificationFailed(FirebaseException exception);
    }

    public static class ForceResendingToken {

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy