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
fix: Do not add padding in Client-Side CAB tokens. (#1728)
* fix: Do not add padding in Client-Side CAB tokens.
Change-Id: I1dc0dfeb7e29e902ad3442cae28d10383816f58b
* Add unit test assertions to verify the generated token has no padding.
Change-Id: I7b948a13a075d7afeac19f96b9372f23b60d4eda
* Add comment to explain why padding is removed.
Change-Id: I0882e0c5d99310b179ace493b937669520626263
* Run mvn format.
Change-Id: I8e3c59c42fceeaf593fa08e85b40754d57e71a45
Copy file name to clipboardExpand all lines: cab-token-generator/java/com/google/auth/credentialaccessboundary/ClientSideCredentialAccessBoundaryFactory.java
+6-1
Original file line number
Diff line number
Diff line change
@@ -206,8 +206,13 @@ public AccessToken generateToken(CredentialAccessBoundary accessBoundary)
Copy file name to clipboardExpand all lines: cab-token-generator/javatests/com/google/auth/credentialaccessboundary/ClientSideCredentialAccessBoundaryFactoryTest.java
+10
Original file line number
Diff line number
Diff line change
@@ -744,6 +744,11 @@ public void generateToken_withAvailablityCondition_success() throws Exception {
0 commit comments