package okhttp3;

import g.h0.c.g;
import g.h0.c.l;
import java.io.IOException;
import okhttp3.internal.authenticator.JavaNetAuthenticator;

/* JADX INFO: compiled from: Authenticator.kt */
/* JADX INFO: loaded from: classes.dex */
public interface Authenticator {
    public static final Companion Companion = new Companion(null);
    public static final Authenticator NONE = new Companion.AuthenticatorNone();
    public static final Authenticator JAVA_NET_AUTHENTICATOR = new JavaNetAuthenticator(null, 1, null);

    /* JADX INFO: compiled from: Authenticator.kt */
    public static final class Companion {
        public static final /* synthetic */ Companion $$INSTANCE = null;

        /* JADX INFO: compiled from: Authenticator.kt */
        public static final class AuthenticatorNone implements Authenticator {
            @Override // okhttp3.Authenticator
            public Request authenticate(Route route, Response response) {
                l.f(response, "response");
                return null;
            }
        }

        private Companion() {
        }

        public /* synthetic */ Companion(g gVar) {
            this();
        }
    }

    Request authenticate(Route route, Response response) throws IOException;
}
