| Package | Description |
|---|---|
| net.oauth2 | |
| net.oauth2.client |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AccessToken> |
TemporalAccessToken.create(T token)
Static object factory defaulting the initial moment of token validitiy to the current moment.
|
TemporalAccessToken<T> |
TemporalAccessToken.ttlUnit(java.time.temporal.TemporalUnit unit)
Sets the reference temporal unit used in this wrapper and returns its instance for method
chaining.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TokenChangeObserver.tokenChanged(TemporalAccessToken<T> newToken,
TemporalAccessToken<T> oldToken)
Fired by
TokenChangeObservable when a token value has changed,
either because it was fetched for the first time, or because it was
refreshed. |
void |
TokenChangeObserver.tokenChanged(TemporalAccessToken<T> newToken,
TemporalAccessToken<T> oldToken)
Fired by
TokenChangeObservable when a token value has changed,
either because it was fetched for the first time, or because it was
refreshed. |
Copyright © 2017. All rights reserved.