Class FacebookClient

All Implemented Interfaces:
OAuthClient

public class FacebookClient extends OAuth2Client<FacebookClientConfiguration>
OAuth 2.0 Client Implementation that supports Facebook.
  • Field Details

    • CLIENT_CREDENTIALS

      public static final String CLIENT_CREDENTIALS
      String used to represent the Client Credentials grand type.
      See Also:
  • Constructor Details

    • FacebookClient

      public FacebookClient(Handler httpHandler, FacebookClientConfiguration config, Clock clock, SecureRandom random)
      Constructs an FacebookClient using a provided Handler and FacebookClientConfiguration.
      Parameters:
      httpHandler - Handler used to make Http calls to auth and resource servers.
      config - configuration that will be used to drive oauth flow.
      clock - Clock instance
      random - used to generate opaque, cryptographically secure strings.
  • Method Details