Auth() — spring-boot Function Reference
Architecture documentation for the Auth() function in DockerConfigurationMetadata.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 1678c64f_806a_a97e_51b6_da16f590aee5["Auth()"] 76940359_add9_4519_6ff4_94f95a81453d["valueAt()"] 1678c64f_806a_a97e_51b6_da16f590aee5 -->|calls| 76940359_add9_4519_6ff4_94f95a81453d 729ef167_f542_d007_b5f5_3dcd0bdb4a8d["trim()"] 1678c64f_806a_a97e_51b6_da16f590aee5 -->|calls| 729ef167_f542_d007_b5f5_3dcd0bdb4a8d style 1678c64f_806a_a97e_51b6_da16f590aee5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerConfigurationMetadata.java lines 222–236
Auth(JsonNode node) {
super(node, MethodHandles.lookup());
String auth = valueAt("/auth", String.class);
if (StringUtils.hasLength(auth)) {
String[] parts = new String(Base64.getDecoder().decode(auth)).split(":", 2);
Assert.state(parts.length == 2, "Malformed auth in docker configuration metadata");
this.username = parts[0];
this.password = trim(parts[1], Character.MIN_VALUE);
}
else {
this.username = valueAt("/username", String.class);
this.password = valueAt("/password", String.class);
}
this.email = valueAt("/email", String.class);
}
Domain
Subdomains
Calls
- trim()
- valueAt()
Source
Frequently Asked Questions
What does Auth() do?
Auth() is a function in the spring-boot codebase.
What does Auth() call?
Auth() calls 2 function(s): trim, valueAt.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free