Class PayPalClient

  • All Implemented Interfaces:
    Client<OAuth20Credentials>

    public class PayPalClient
    extends OAuth20Client

    This class is the OAuth client to authenticate users in PayPal.

    By default, the following scope is requested to PayPal : openid profile email address.

    The scope can be defined to require permissions from the user and retrieve attributes from PayPal, by using the setScope(String) method.

    It returns a PayPalProfile.

    More information at https://developer.paypal.com/webapps/developer/docs/integration/direct/log-in-with-paypal/detailed/

    Since:
    1.4.2
    Author:
    Jerome Leleu