public final class CachedSASToken
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
| Constructor | Description |
|---|---|
CachedSASToken() |
Create instance with default minimum expiration.
|
CachedSASToken(long minExpirationInSeconds) |
Create instance with specified minimum expiration.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
get() |
Gets the token if still valid.
|
void |
update(java.lang.String token) |
Updates the cached SAS token and expiry.
|
public CachedSASToken()
public CachedSASToken(long minExpirationInSeconds)
minExpirationInSeconds - public void update(java.lang.String token)
token - an Azure Storage SAS tokenpublic java.lang.String get()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.