Skip to content

Commit 58e55bf

Browse files
docs: fix BearerTokenExpiryExample description in samples README
1 parent e2e9f88 commit 58e55bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎skyvault/samples/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ for when you'd do which.
8787
| Sample | Demonstrates |
8888
|---|---|
8989
| [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. |
9191
| [BearerTokenGenerationUsingThreadsExample.java](src/main/java/com/example/serviceaccount/BearerTokenGenerationUsingThreadsExample.java) | Sharing one `BearerToken` instance safely across multiple threads. |
9292
| [BearerTokenGenerationWithContextExample.java](src/main/java/com/example/serviceaccount/BearerTokenGenerationWithContextExample.java) | Context-aware tokens via `setCtx(String)` and `setCtx(Map<String, Object>)`. |
9393
| [ScopedTokenGenerationExample.java](src/main/java/com/example/serviceaccount/ScopedTokenGenerationExample.java) | Scoped tokens via `setRoles(...)`, restricting the token to specific role IDs. |

0 commit comments

Comments
 (0)