public class TokenManagerConfig
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TokenManagerConfig.RetryPolicy |
| Constructor and Description |
|---|
TokenManagerConfig(float expirationRefreshRatio,
int lowerRefreshBoundMillis,
int tokenRequestExecTimeoutInMs,
TokenManagerConfig.RetryPolicy retryPolicy) |
| Modifier and Type | Method and Description |
|---|---|
float |
getExpirationRefreshRatio()
Represents the ratio of a token's lifetime at which a refresh should be triggered.
|
int |
getLowerRefreshBoundMillis()
Represents the minimum time in milliseconds before token expiration to trigger a refresh, in milliseconds.
|
TokenManagerConfig.RetryPolicy |
getRetryPolicy()
Represents the retry policy for token requests.
|
int |
getTokenRequestExecTimeoutInMs()
Represents the maximum time in milliseconds to wait for a token request to complete.
|
public TokenManagerConfig(float expirationRefreshRatio,
int lowerRefreshBoundMillis,
int tokenRequestExecTimeoutInMs,
TokenManagerConfig.RetryPolicy retryPolicy)
public float getExpirationRefreshRatio()
public int getLowerRefreshBoundMillis()
public int getTokenRequestExecTimeoutInMs()
public TokenManagerConfig.RetryPolicy getRetryPolicy()
Copyright © 2025. All rights reserved.