package com.google.android.gms.auth.api.credentials; import android.app.Activity; import android.app.PendingIntent; import android.content.Context; import com.google.android.gms.auth.api.Auth; import com.google.android.gms.common.api.GoogleApi; import com.google.android.gms.common.api.internal.ApiExceptionMapper; import com.google.android.gms.common.api.internal.StatusExceptionMapper; import com.google.android.gms.common.internal.PendingResultUtil; import com.google.android.gms.internal.p000authapi.zzr; import com.google.android.gms.tasks.Task; /* loaded from: classes.dex */ public class CredentialsClient extends GoogleApi { /* JADX INFO: Access modifiers changed from: package-private */ public CredentialsClient(Context context, Auth.AuthCredentialsOptions authCredentialsOptions) { super(context, Auth.CREDENTIALS_API, authCredentialsOptions, new ApiExceptionMapper()); } /* JADX INFO: Access modifiers changed from: package-private */ public CredentialsClient(Activity activity, Auth.AuthCredentialsOptions authCredentialsOptions) { super(activity, Auth.CREDENTIALS_API, authCredentialsOptions, (StatusExceptionMapper) new ApiExceptionMapper()); } public Task request(CredentialRequest credentialRequest) { return PendingResultUtil.toResponseTask(Auth.CredentialsApi.request(asGoogleApiClient(), credentialRequest), new CredentialRequestResponse()); } public PendingIntent getHintPickerIntent(HintRequest hintRequest) { return zzr.zzc(getApplicationContext(), getApiOptions(), hintRequest, getApiOptions().getLogSessionId()); } public Task save(Credential credential) { return PendingResultUtil.toVoidTask(Auth.CredentialsApi.save(asGoogleApiClient(), credential)); } public Task delete(Credential credential) { return PendingResultUtil.toVoidTask(Auth.CredentialsApi.delete(asGoogleApiClient(), credential)); } public Task disableAutoSignIn() { return PendingResultUtil.toVoidTask(Auth.CredentialsApi.disableAutoSignIn(asGoogleApiClient())); } }