52 lines
2.9 KiB
Java
52 lines
2.9 KiB
Java
|
package com.google.android.gms.internal.p000authapi;
|
||
|
|
||
|
import android.app.PendingIntent;
|
||
|
import com.google.android.gms.auth.api.Auth;
|
||
|
import com.google.android.gms.auth.api.credentials.Credential;
|
||
|
import com.google.android.gms.auth.api.credentials.CredentialRequest;
|
||
|
import com.google.android.gms.auth.api.credentials.CredentialRequestResult;
|
||
|
import com.google.android.gms.auth.api.credentials.CredentialsApi;
|
||
|
import com.google.android.gms.auth.api.credentials.HintRequest;
|
||
|
import com.google.android.gms.common.api.GoogleApiClient;
|
||
|
import com.google.android.gms.common.api.PendingResult;
|
||
|
import com.google.android.gms.common.api.Status;
|
||
|
import com.google.android.gms.common.internal.Preconditions;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzj implements CredentialsApi {
|
||
|
@Override // com.google.android.gms.auth.api.credentials.CredentialsApi
|
||
|
public final PendingResult<CredentialRequestResult> request(GoogleApiClient googleApiClient, CredentialRequest credentialRequest) {
|
||
|
Preconditions.checkNotNull(googleApiClient, "client must not be null");
|
||
|
Preconditions.checkNotNull(credentialRequest, "request must not be null");
|
||
|
return googleApiClient.enqueue(new zzi(this, googleApiClient, credentialRequest));
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.auth.api.credentials.CredentialsApi
|
||
|
public final PendingIntent getHintPickerIntent(GoogleApiClient googleApiClient, HintRequest hintRequest) {
|
||
|
Preconditions.checkNotNull(googleApiClient, "client must not be null");
|
||
|
Preconditions.checkNotNull(hintRequest, "request must not be null");
|
||
|
Auth.AuthCredentialsOptions zze = ((zzq) googleApiClient.getClient(Auth.zzg)).zze();
|
||
|
return zzr.zzc(googleApiClient.getContext(), zze, hintRequest, zze.getLogSessionId());
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.auth.api.credentials.CredentialsApi
|
||
|
public final PendingResult<Status> save(GoogleApiClient googleApiClient, Credential credential) {
|
||
|
Preconditions.checkNotNull(googleApiClient, "client must not be null");
|
||
|
Preconditions.checkNotNull(credential, "credential must not be null");
|
||
|
return googleApiClient.execute(new zzk(this, googleApiClient, credential));
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.auth.api.credentials.CredentialsApi
|
||
|
public final PendingResult<Status> delete(GoogleApiClient googleApiClient, Credential credential) {
|
||
|
Preconditions.checkNotNull(googleApiClient, "client must not be null");
|
||
|
Preconditions.checkNotNull(credential, "credential must not be null");
|
||
|
return googleApiClient.execute(new zzn(this, googleApiClient, credential));
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.auth.api.credentials.CredentialsApi
|
||
|
public final PendingResult<Status> disableAutoSignIn(GoogleApiClient googleApiClient) {
|
||
|
Preconditions.checkNotNull(googleApiClient, "client must not be null");
|
||
|
return googleApiClient.execute(new zzm(this, googleApiClient));
|
||
|
}
|
||
|
}
|