How heangchihav/springboot-auth-code-flow works
This repository appears to be a collection of five Spring Boot OAuth examples: authorization-code flow, PKCE, two client variants, and a protected resource service. The tree identifies controllers, security/configuration classes, and client/service components, but no README or source excerpts were provided. Consequently, the graph shows the application components without asserting calls, OAuth redirects, token exchanges, or resource requests that cannot be verified.
Components 20
Authorization Code Sample
- Application
auth-code-flow/src/main/java/com/demo/auth_code_flow/AuthCodeFlowApplication.java - Security Config
auth-code-flow/src/main/java/com/demo/auth_code_flow/config/SecurityConfig.java - Home Controller
auth-code-flow/src/main/java/com/demo/auth_code_flow/controller/HomeController.java - User Info Service
auth-code-flow/src/main/java/com/demo/auth_code_flow/service/UserInfoService.java
PKCE Sample
- Application
pkce/src/main/java/com/demo/pkce/PkceApplication.java - Security Config
pkce/src/main/java/com/demo/pkce/config/SecurityConfig.java - API Controller
pkce/src/main/java/com/demo/pkce/controller/ApiController.java
Proxy Client Sample
- Application
client/src/main/java/com/demo/client/ClientApplication.java - Security Config
client/src/main/java/com/demo/client/config/SecurityConfig.java - Web Config
client/src/main/java/com/demo/client/config/WebConfig.java - Proxy Controller
client/src/main/java/com/demo/client/controller/ProxyController.java - Resource Service
client/src/main/java/com/demo/client/service/ResourceService.java - Resource Client
client/src/main/java/com/demo/client/client/ResourceClient.java
Pure Client Sample
- Application
pure-client/src/main/java/com/demo/pure_client/PureClientApplication.java - OAuth2 Config
pure-client/src/main/java/com/demo/pure_client/config/OAuth2Config.java - Resource Runner
pure-client/src/main/java/com/demo/pure_client/runner/ResourceClientRunner.java - Resource Client
pure-client/src/main/java/com/demo/pure_client/client/ResourceClient.java
Resource API
- Application
resource/src/main/java/com/demo/resource/ResourceApplication.java - Security Config
resource/src/main/java/com/demo/resource/config/SecurityConfig.java - Data Controller
resource/src/main/java/com/demo/resource/controller/DataController.java