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
Modifier and TypeFieldDescriptionprotected static org.slf4j.Logger
The logger for this class -
Constructor Summary
-
Method Summary
-
Field Details
-
logger
protected static org.slf4j.Logger loggerThe logger for this class
-
-
Constructor Details
-
MinimalOAuthApp
public MinimalOAuthApp()
-
-
Method Details
-
main
-
run
This method is started by Spring, once the Spring context has been loaded. This is run, as this class implementsCommandLineRunner
- Specified by:
run
in interfaceorg.springframework.boot.CommandLineRunner
- Throws:
Exception
-