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
{{ message }}
Repository navigation
Commit 58e55bf
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: skyvault/samples/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ for when you'd do which.
87
87
| Sample | Demonstrates |
88
88
|---|---|
89
89
|[BearerTokenGenerationExample.java](src/main/java/com/example/serviceaccount/BearerTokenGenerationExample.java)| Basic token generation from a credentials file or credentials string. |
90
-
|[BearerTokenExpiryExample.java](src/main/java/com/example/serviceaccount/BearerTokenExpiryExample.java)|Using `Token.isExpired()`to avoid re-minting a still-valid token before a detokenize call. |
90
+
|[BearerTokenExpiryExample.java](src/main/java/com/example/serviceaccount/BearerTokenExpiryExample.java)|Retrying a detokenize call after a 401, letting the SDK's internal `Token.isExpired()`check mint a fresh bearer token on the retry. |
91
91
|[BearerTokenGenerationUsingThreadsExample.java](src/main/java/com/example/serviceaccount/BearerTokenGenerationUsingThreadsExample.java)| Sharing one `BearerToken` instance safely across multiple threads. |
92
92
|[BearerTokenGenerationWithContextExample.java](src/main/java/com/example/serviceaccount/BearerTokenGenerationWithContextExample.java)| Context-aware tokens via `setCtx(String)` and `setCtx(Map<String, Object>)`. |
93
93
|[ScopedTokenGenerationExample.java](src/main/java/com/example/serviceaccount/ScopedTokenGenerationExample.java)| Scoped tokens via `setRoles(...)`, restricting the token to specific role IDs. |
0 commit comments