Class OAuth1ClientSupport


  • public final class OAuth1ClientSupport
    extends java.lang.Object
    The main class to build the support for OAuth 1 into the Jersey client.

    The support for OAuth is divided into two parts:

  • Authorization Flow: process of acquiring the user approval for accessing user's resources on the Service Provider. The authorization process is managed by an implementation of OAuth1AuthorizationFlow interface. The result of the process is an AccessToken.
  • Authenticated Requests: requests done by a client are enhanced by an Authorization http header that contains OAuth1 authorization information based on the AccessToken received from Authorization flow. This support is provided by oauth 1 filter feature that is registered into client configuration.
  • This class contains static method that allows to build both OAuth1 features (authorization flow and client feature).

Since:
2.3