public class OAuthAuthentication extends java.lang.Object implements Authentication
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowAbiquoToken() |
com.squareup.okhttp.Request |
authenticate(com.squareup.okhttp.Request unauthenticated)
Authenticates the given request.
|
static OAuthAuthentication |
oauth(java.lang.String consumerKey,
java.lang.String consumerSecret,
java.lang.String accessToken,
java.lang.String accessTokenSecret) |
public static OAuthAuthentication oauth(java.lang.String consumerKey, java.lang.String consumerSecret, java.lang.String accessToken, java.lang.String accessTokenSecret)
public boolean allowAbiquoToken()
allowAbiquoToken in interface Authenticationpublic com.squareup.okhttp.Request authenticate(com.squareup.okhttp.Request unauthenticated)
Authenticationauthenticate in interface Authenticationunauthenticated - The request to authenticate.Copyright © 2008-2019 Abiquo Holdings S.L.. All Rights Reserved.