86 lines
2.3 KiB
Smali
86 lines
2.3 KiB
Smali
.class public final Lcom/google/android/gms/internal/firebase-auth-api/zzxt;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.firebase:firebase-auth@@21.0.1"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/internal/firebase-auth-api/zzui;
|
|
|
|
|
|
# instance fields
|
|
.field private final zza:Ljava/lang/String;
|
|
|
|
.field private final zzb:Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 0
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 1
|
|
invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/firebase-auth-api/zzxt;->zza:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/google/android/gms/internal/firebase-auth-api/zzxt;->zzb:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final zza()Ljava/lang/String;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lorg/json/JSONException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/firebase-auth-api/zzxt;->zza:Ljava/lang/String;
|
|
|
|
const-string v2, "token"
|
|
|
|
.line 2
|
|
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v1, "returnSecureToken"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
.line 3
|
|
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;
|
|
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/firebase-auth-api/zzxt;->zzb:Ljava/lang/String;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v2, "tenantId"
|
|
|
|
.line 4
|
|
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
.line 5
|
|
:cond_0
|
|
invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|