@@ -0,0 +1,948 @@
+package io.github.endron.oauth.authserver;%0A%0Aimport org.springframework.boot.SpringApplication;%0Aimport org.springframework.boot.autoconfigure.SpringBootApplication;%0Aimport org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer;%0Aimport org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter;%0Aimport org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;%0A%0A@SpringBootApplication%0A@EnableAuthorizationServer%0Apublic class Application extends AuthorizationServerConfigurerAdapter %7B%0A%0A    public static void main(final String... args) %7B%0A        SpringApplication.run(Application.class, args);%0A    %7D%0A%0A    @Override%0A    public void configure(final ClientDetailsServiceConfigurer clients) throws Exception %7B%0A        clients.inMemory()%0A                .withClient(%22testClient%22)%0A                .secret(%22secret%22);%0A    %7D%0A%7D%0A

add main class