All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.undefinedlabs.scope.deps.okhttp3.Authenticator Maven / Gradle / Ivy

Go to download

Scope is a APM for tests to give engineering teams unprecedented visibility into their CI process to quickly identify, troubleshoot and fix failed builds. This artifact contains dependencies for Scope.

There is a newer version: 0.14.0-beta.2
Show newest version
package com.undefinedlabs.scope.deps.okhttp3;

import java.io.IOException;

public interface Authenticator {
    /** An authenticator that knows no credentials and makes no attempt to authenticate. */
    Authenticator NONE = new Authenticator() {
        @Override public Request authenticate(Route route, Response response) {
            return null;
        }
    };

    /**
     * Returns a request that includes a credential to satisfy an authentication challenge in {@code
     * response}. Returns null if the challenge cannot be satisfied.
     */
    Request authenticate(Route route, Response response) throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy