com.jdroid.java.firebase.auth.CustomTokenFirebaseAuthenticationStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdroid-java-firebase-database Show documentation
Show all versions of jdroid-java-firebase-database Show documentation
Firebase Database Repository for Jdroid
package com.jdroid.java.firebase.auth;
import com.firebase.client.Firebase;
public abstract class CustomTokenFirebaseAuthenticationStrategy extends FirebaseAuthenticationStrategy {
@Override
protected void doAuthenticate(Firebase firebase) {
firebase.authWithCustomToken(getAuthToken(), this);
}
protected abstract String getAuthToken();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy