Home / Function/ createFullAuthHeaderReturnsEncodedHeader() — spring-boot Function Reference

createFullAuthHeaderReturnsEncodedHeader() — spring-boot Function Reference

Architecture documentation for the createFullAuthHeaderReturnsEncodedHeader() function in DockerRegistryUserAuthenticationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  21725741_479e_3a1c_5bce_d65f6c1a966e["createFullAuthHeaderReturnsEncodedHeader()"]
  9d026d73_8046_9ee3_2b92_65c7ee6c6f19["jsonContent()"]
  21725741_479e_3a1c_5bce_d65f6c1a966e -->|calls| 9d026d73_8046_9ee3_2b92_65c7ee6c6f19
  1e232be4_9ab9_2625_fa1e_1da33813a0ec["decoded()"]
  21725741_479e_3a1c_5bce_d65f6c1a966e -->|calls| 1e232be4_9ab9_2625_fa1e_1da33813a0ec
  style 21725741_479e_3a1c_5bce_d65f6c1a966e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerRegistryUserAuthenticationTests.java lines 48–54

	@Test
	void createFullAuthHeaderReturnsEncodedHeader() throws IOException, JSONException {
		DockerRegistryUserAuthentication auth = new DockerRegistryUserAuthentication("user", "secret", null, null);
		String authHeader = auth.getAuthHeader();
		assertThat(authHeader).isNotNull();
		JSONAssert.assertEquals(jsonContent("auth-user-minimal.json"), decoded(authHeader), false);
	}

Domain

Subdomains

Frequently Asked Questions

What does createFullAuthHeaderReturnsEncodedHeader() do?
createFullAuthHeaderReturnsEncodedHeader() is a function in the spring-boot codebase.
What does createFullAuthHeaderReturnsEncodedHeader() call?
createFullAuthHeaderReturnsEncodedHeader() calls 2 function(s): decoded, jsonContent.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free