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; /* loaded from: classes2.dex */ public class TwitterAuthCredential extends AuthCredential { public static final Parcelable.Creator CREATOR = new zzak(); private String zza; private String zzb; /* JADX INFO: Access modifiers changed from: package-private */ public TwitterAuthCredential(String str, String str2) { this.zza = Preconditions.checkNotEmpty(str); this.zzb = Preconditions.checkNotEmpty(str2); } public static zzaay zzb(TwitterAuthCredential twitterAuthCredential, String str) { Preconditions.checkNotNull(twitterAuthCredential); return new zzaay(null, twitterAuthCredential.zza, twitterAuthCredential.getProvider(), null, twitterAuthCredential.zzb, null, str, null, null); } @Override // android.os.Parcelable 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); } @Override // com.google.firebase.auth.AuthCredential public final AuthCredential zza() { return new TwitterAuthCredential(this.zza, this.zzb); } @Override // com.google.firebase.auth.AuthCredential public String getProvider() { return "twitter.com"; } }