Class MinimalOAuthApp

java.lang.Object
org.allGraphQLCases.minimal.oauth_app.MinimalOAuthApp
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

@SpringBootApplication(scanBasePackageClasses={MinimalOAuthApp.class,com.graphql_java_generator.client.GraphqlClientUtils.class,MyQueryTypeExecutorAllGraphQLCases.class}) public class MinimalOAuthApp extends Object implements org.springframework.boot.CommandLineRunner
This class describes how to create a minimal app, that can access to an OAuth2 protected GraphQL server
Author:
etienne-sf
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static org.slf4j.Logger
    The logger for this class
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
     
    void
    run(String... args)
    This method is started by Spring, once the Spring context has been loaded.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected static org.slf4j.Logger logger
      The logger for this class
  • Constructor Details

    • MinimalOAuthApp

      public MinimalOAuthApp()
  • Method Details

    • main

      public static void main(String[] args)
    • run

      public void run(String... args) throws Exception
      This method is started by Spring, once the Spring context has been loaded. This is run, as this class implements CommandLineRunner
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Throws:
      Exception