Class SapIdpExample

  • All Implemented Interfaces:
    Example

    public class SapIdpExample
    extends Object
    implements Example
    Example demonstrating SAP IDP authentication and API usage. This example: 1. Prompts for SAP IDP credentials 2. Authenticates using IDP 3. Prints access token 4. Makes a test API call
    • Constructor Detail

      • SapIdpExample

        public SapIdpExample()
    • 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