@ -668,8 +668,6 @@ And the resulting `Jwt`, were it tested, would pass in the following way:
@@ -668,8 +668,6 @@ And the resulting `Jwt`, were it tested, would pass in the following way:
@ -716,7 +714,8 @@ You can also specify a complete `Jwt`, for which `{security-api-url}org/springfr
@@ -716,7 +714,8 @@ You can also specify a complete `Jwt`, for which `{security-api-url}org/springfr
Jwt jwt = Jwt.withTokenValue("token")
.header("alg", "none")
.claim("sub", "user")
.claim("scope", "read");
.claim("scope", "read")
.build();
mvc
.perform(get("/endpoint")
@ -756,7 +755,7 @@ Let's say that we've got a controller that retrieves the authentication as a `Be
@@ -756,7 +755,7 @@ Let's say that we've got a controller that retrieves the authentication as a `Be
----
@GetMapping("/endpoint")
public String foo(BearerTokenAuthentication authentication) {