public interface AccessTokenProvider
extends org.apache.hadoop.conf.Configurable
| Modifier and Type | Interface and Description |
|---|---|
static class |
AccessTokenProvider.AccessToken
An access token and its expiration time.
|
| Modifier and Type | Method and Description |
|---|---|
AccessTokenProvider.AccessToken |
getAccessToken() |
void |
refresh()
Force this provider to refresh its access token.
|
AccessTokenProvider.AccessToken getAccessToken()
void refresh()
throws java.io.IOException
java.io.IOException - when refresh fails.Copyright © 2018. All rights reserved.