What a build contains
What a build of an application with spring_boot_starter_oauth2_client contains, and when something is not in it. A module that follows a key reads it when build_runner runs, from application.yml or application.properties without a profile (see Modules left out of the build). The modules of the packages it depends on come with it: for spring_boot_dart, see Auto-configuration.
Always in
No build: and no platform:: in every build of an application that depends on the starter.
| Module | What it holds |
|---|---|
springBootStarterOauth2ClientAutoConfiguration |
The registrations of spring.security.oauth2.client.*, the authorized clients and their manager, the token endpoint clients, the user services and the Feign token interceptor. |
springSecurityCoreAutoConfiguration (spring_security_core) |
Brought by the starter's dependency on spring_security_core: method security and the AuthenticationManager. methodSecurityValidator stays in every build on purpose, as a safety net of security. |
By key and by platform
Nothing is switched: no module of this starter follows a key or a platform, so all of it is in every build.
What the generator writes for it
A part of the generator (see Starter parts) runs only when the application reaches its package.
| Part or builder | What it does |
|---|---|
| Through its dependencies | The security part and the web part, since the starter depends on spring_security_core and spring_web_dart. The starter has no part of its own. |