Package com.abiquo.apiclient.auth
Interface Authentication
-
- All Known Implementing Classes:
BasicAuthentication,OAuthAuthentication,TokenAuthentication
public interface AuthenticationGeneric interface to the different authentication schemes of the Abiquo API.Some authentication schemes such as OAuth will sign the request headers, so the request authentication should be performed just before sending the request over the wire to make sure the underlying HTTP libraries don't add or modify the existing headers (breaking the signature).
- Author:
- Ignasi Barrera
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanallowAbiquoToken()com.squareup.okhttp.Requestauthenticate(com.squareup.okhttp.Request unauthenticated)Authenticates the given request.
-