public class BasicAuthentication extends Object implements Authentication
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Request |
authenticate(com.squareup.okhttp.Request unauthenticated)
Authenticates the given request.
|
static BasicAuthentication |
basic(String username,
String password) |
public static BasicAuthentication basic(String username, String password)
public com.squareup.okhttp.Request authenticate(com.squareup.okhttp.Request unauthenticated)
Authenticationauthenticate in interface Authenticationunauthenticated - The request to authenticate.Copyright © 2008–2016 Abiquo Holdings S.L.. All rights reserved.