CrackMe.apk
Download file
package com.google.firebase.auth;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.internal.p002firebaseauthapi.zzaay;
/* compiled from: com.google.firebase:firebase-auth@@21.1.0 */
public class GoogleAuthCredential extends AuthCredential {
public static final Parcelable.Creator<GoogleAuthCredential> CREATOR = new zzac();
private final String zza;
private final String zzb;
GoogleAuthCredential(String str, String str2) {
if (str == null && str2 == null) {
throw new IllegalArgumentException("Must specify an idToken or an accessToken.");
} else if (str != null && str.length() == 0) {
throw new IllegalArgumentException("idToken cannot be empty");
} else if (str2 == null || str2.length() != 0) {
this.zza = str;
this.zzb = str2;
} else {
throw new IllegalArgumentException("accessToken cannot be empty");
}
}
public static zzaay zzb(GoogleAuthCredential googleAuthCredential, String str) {
Preconditions.checkNotNull(googleAuthCredential);
return new zzaay(googleAuthCredential.zza, googleAuthCredential.zzb, googleAuthCredential.getProvider(), (String) null, (String) null, (String) null, str, (String) null, (String) null);
}
public String getProvider() {
return "google.com";
}
public String getSignInMethod() {
return "google.com";
}
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeString(parcel, 1, this.zza, false);
SafeParcelWriter.writeString(parcel, 2, this.zzb, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
public final AuthCredential zza() {
return new GoogleAuthCredential(this.zza, this.zzb);
}
}
Download file