what-the-bank/sources/okhttp3/Authenticator.java

32 lines
1.0 KiB
Java

package okhttp3;
import java.io.IOException;
import o.C14957gcv;
import okhttp3.internal.authenticator.JavaNetAuthenticator;
/* loaded from: classes.dex */
public interface Authenticator {
public static final Companion Companion = Companion.$$INSTANCE;
public static final Authenticator NONE = new Companion.AuthenticatorNone();
public static final Authenticator JAVA_NET_AUTHENTICATOR = new JavaNetAuthenticator(null, 1, 0 == true ? 1 : 0);
Request authenticate(Route route, Response response) throws IOException;
/* loaded from: classes.dex */
public static final class Companion {
static final Companion $$INSTANCE = new Companion();
private Companion() {
}
/* loaded from: classes.dex */
static final class AuthenticatorNone implements Authenticator {
@Override // okhttp3.Authenticator
public final Request authenticate(Route route, Response response) {
C14957gcv.e(response, "");
return null;
}
}
}
}