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

createMinimalAuthHeaderReturnsEncodedHeader() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  bfbc9f0a_710c_f74e_03fd_c60432ed09e4["createMinimalAuthHeaderReturnsEncodedHeader()"]
  9d026d73_8046_9ee3_2b92_65c7ee6c6f19["jsonContent()"]
  bfbc9f0a_710c_f74e_03fd_c60432ed09e4 -->|calls| 9d026d73_8046_9ee3_2b92_65c7ee6c6f19
  1e232be4_9ab9_2625_fa1e_1da33813a0ec["decoded()"]
  bfbc9f0a_710c_f74e_03fd_c60432ed09e4 -->|calls| 1e232be4_9ab9_2625_fa1e_1da33813a0ec
  style bfbc9f0a_710c_f74e_03fd_c60432ed09e4 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 39–46

	@Test
	void createMinimalAuthHeaderReturnsEncodedHeader() throws IOException, JSONException {
		DockerRegistryUserAuthentication auth = new DockerRegistryUserAuthentication("user", "secret",
				"https://docker.example.com", "docker@example.com");
		String authHeader = auth.getAuthHeader();
		assertThat(authHeader).isNotNull();
		JSONAssert.assertEquals(jsonContent("auth-user-full.json"), decoded(authHeader), true);
	}

Domain

Subdomains

Frequently Asked Questions

What does createMinimalAuthHeaderReturnsEncodedHeader() do?
createMinimalAuthHeaderReturnsEncodedHeader() is a function in the spring-boot codebase.
What does createMinimalAuthHeaderReturnsEncodedHeader() call?
createMinimalAuthHeaderReturnsEncodedHeader() 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