Class AdpApiExample

  • All Implemented Interfaces:
    Example

    public class AdpApiExample
    extends Object
    implements Example
    Example demonstrating how to call the ADP API using: 1. OAuth2 Client-Credentials flow (client_id / client_secret) 2. Mutual TLS with a PKCS#12 certificate handled via RocketSSL
    • Constructor Detail

      • AdpApiExample

        public AdpApiExample()
    • Method Detail

      • main

        public static void main​(String[] args)
      • getName

        public String getName()
        Description copied from interface: Example
        Get the name of the example to display in the menu
        Specified by:
        getName in interface Example
        Returns:
        The example name
      • run

        public void run()
        Description copied from interface: Example
        Run the example
        Specified by:
        run in interface Example