public class BearTokenFileCredentialsProvider extends BaseBearTokenCredentialsProvider
Modifier and Type | Field and Description |
---|---|
static double |
EXPIRED_FACTOR |
Constructor and Description |
---|
BearTokenFileCredentialsProvider(String tokenFilePath) |
BearTokenFileCredentialsProvider(String tokenFilePath,
Long expiresInMills) |
Modifier and Type | Method and Description |
---|---|
Optional<Long> |
expiresAtMillis() |
Optional<Long> |
expiresInMills() |
boolean |
keepRefreshed() |
boolean |
refresh() |
boolean |
supportRefresh() |
boolean |
willSoonExpire() |
authHeader
public static final double EXPIRED_FACTOR
public BearTokenFileCredentialsProvider(String tokenFilePath)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.