44 lines
1.3 KiB
Java
44 lines
1.3 KiB
Java
|
package com.google.firebase.auth.internal;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||
|
import com.google.firebase.auth.FirebaseUserMetadata;
|
||
|
import org.json.JSONException;
|
||
|
import org.json.JSONObject;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzz implements FirebaseUserMetadata {
|
||
|
public static final Parcelable.Creator<zzz> CREATOR = new zzaa();
|
||
|
private final long zza;
|
||
|
private final long zzb;
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final int describeContents() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public final void writeToParcel(Parcel parcel, int i) {
|
||
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||
|
SafeParcelWriter.writeLong(parcel, 1, this.zza);
|
||
|
SafeParcelWriter.writeLong(parcel, 2, this.zzb);
|
||
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||
|
}
|
||
|
|
||
|
public final JSONObject zza() {
|
||
|
JSONObject jSONObject = new JSONObject();
|
||
|
try {
|
||
|
jSONObject.put("lastSignInTimestamp", this.zza);
|
||
|
jSONObject.put("creationTimestamp", this.zzb);
|
||
|
} catch (JSONException unused) {
|
||
|
}
|
||
|
return jSONObject;
|
||
|
}
|
||
|
|
||
|
public zzz(long j, long j2) {
|
||
|
this.zza = j;
|
||
|
this.zzb = j2;
|
||
|
}
|
||
|
}
|