List of usage examples for com.squareup.okhttp Authenticator interface-usage
From source file at.bitfire.dav4android.BasicDigestAuthenticator.java
public class BasicDigestAuthenticator implements Authenticator { protected static final String HEADER_AUTHENTICATE = "WWW-Authenticate", HEADER_AUTHORIZATION = "Authorization"; final String host, username, password; final String clientNonce;
From source file co.paralleluniverse.fibers.okhttp.internal.RecordingOkAuthenticator.java
public final class RecordingOkAuthenticator implements Authenticator { public final List<Response> responses = new ArrayList<>(); public final List<Proxy> proxies = new ArrayList<>(); public final String credential; public RecordingOkAuthenticator(String credential) {
From source file co.paralleluniverse.fibers.okhttp.test.utils.original.RecordingOkAuthenticator.java
public final class RecordingOkAuthenticator implements Authenticator { public final List<Response> responses = new ArrayList<>(); public final List<Proxy> proxies = new ArrayList<>(); public final String credential; public RecordingOkAuthenticator(String credential) {
From source file com.liferay.mobile.android.auth.basic.BasicAuthAutenticator.java
/** * @author Victor Galan */ public class BasicAuthAutenticator extends BasicAuthentication implements Authenticator { public BasicAuthAutenticator(String username, String password) {
From source file com.liferay.mobile.android.auth.basic.DigestAuthentication.java
/** * @author Silvio Santos */ public class DigestAuthentication extends BasicAuthentication implements Authenticator { public DigestAuthentication(String username, String password) {
From source file com.liferay.mobile.sdk.auth.DigestAuthentication.java
/** * @author Silvio Santos */ public class DigestAuthentication implements Authenticator, Authentication { public DigestAuthentication(String username, String password) {
From source file com.magnet.max.android.MaxRestAuthenticator.java
public class MaxRestAuthenticator implements Authenticator { private static final String TAG = MaxRestAuthenticator.class.getSimpleName(); private static final int REFRESH_TOKEN_TIMEOUT = 5; @Override
From source file com.mvcoding.financius.api.EndpointAuthenticator.java
public class EndpointAuthenticator implements Authenticator { private final Context context; private final Session session; @Inject public EndpointAuthenticator(@ApplicationContext @NonNull Context context, @NonNull Session session) {
From source file io.jawg.osmcontributor.rest.utils.AuthenticationRequestInterceptor.java
/** * {@link retrofit.RequestInterceptor} adding Base64 encoded credentials to the requests. */ public class AuthenticationRequestInterceptor implements Authenticator { public static final String CONSUMER_PARAM = "oauth_consumer_key"; public static final String TOKEN_PARAM = "oauth_token";
From source file io.mapsquare.osmcontributor.rest.utils.AuthenticationRequestInterceptor.java
/** * {@link retrofit.RequestInterceptor} adding Base64 encoded credentials to the requests. */ public class AuthenticationRequestInterceptor implements Authenticator { public static final String CONSUMER_PARAM = "oauth_consumer_key"; public static final String TOKEN_PARAM = "oauth_token";