You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/token/JwtEncodingContext.java
+9-9
Original file line number
Diff line number
Diff line change
@@ -58,12 +58,12 @@ public boolean hasKey(Object key) {
58
58
}
59
59
60
60
/**
61
-
* Returns the {@link JwsHeader.Builder headers}
61
+
* Returns the {@link JwsHeader.Builder JWS headers}
62
62
* allowing the ability to add, replace, or remove.
63
63
*
64
64
* @return the {@link JwsHeader.Builder}
65
65
*/
66
-
publicJwsHeader.BuildergetHeaders() {
66
+
publicJwsHeader.BuildergetJwsHeader() {
67
67
returnget(JwsHeader.Builder.class);
68
68
}
69
69
@@ -78,25 +78,25 @@ public JwtClaimsSet.Builder getClaims() {
78
78
}
79
79
80
80
/**
81
-
* Constructs a new {@link Builder} with the provided headers and claims.
81
+
* Constructs a new {@link Builder} with the provided JWS headers and claims.
82
82
*
83
-
* @param headersBuilder the headers to initialize the builder
83
+
* @param jwsHeaderBuilder the JWS headers to initialize the builder
84
84
* @param claimsBuilder the claims to initialize the builder
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/token/JwtGenerator.java
+5-5
Original file line number
Diff line number
Diff line change
@@ -125,11 +125,11 @@ public Jwt generate(OAuth2TokenContext context) {
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2AuthorizationCodeAuthenticationProviderTests.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -414,7 +414,7 @@ public void authenticateWhenValidCodeThenReturnAccessToken() {
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2ClientCredentialsAuthenticationProviderTests.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -252,7 +252,7 @@ public void authenticateWhenValidAuthenticationThenReturnAccessToken() {
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/authentication/OAuth2RefreshTokenAuthenticationProviderTests.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ public void authenticateWhenValidRefreshTokenThenReturnAccessToken() {
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/token/JwtEncodingContextTests.java
Copy file name to clipboardExpand all lines: oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/token/JwtGeneratorTests.java
0 commit comments