public class CliTokenSource extends RefreshableTokenSource
RefreshableTokenSource.TokenStatetoken| Constructor and Description |
|---|
CliTokenSource(List<String> cmd,
String tokenTypeField,
String accessTokenField,
String expiryField,
Environment env) |
| Modifier and Type | Method and Description |
|---|---|
protected Token |
refresh()
Refresh the OAuth token.
|
getToken, getTokenAsync, getTokenBlocking, getTokenState, retrieveToken, withAsyncRefresh, withClockSupplier, withExpiryBufferprotected Token refresh()
RefreshableTokenSourceThis method may throw an exception if the token cannot be refreshed. The specific exception type depends on the implementation.
refresh in class RefreshableTokenSourceCopyright © 2025. All rights reserved.