public class AccessTokenRepository extends Object
Constructor and Description |
---|
AccessTokenRepository(HttpProxyConfig proxyConfig,
HttpStoragePluginConfig pluginConfig,
PersistentTokenTable tokenTable) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken()
Returns the current access token.
|
HttpOAuthConfig |
getOAuthConfig() |
String |
getTokenType() |
String |
refreshAccessToken()
Refreshes the access token using the code and other information from the HTTP OAuthConfig.
|
public AccessTokenRepository(HttpProxyConfig proxyConfig, HttpStoragePluginConfig pluginConfig, PersistentTokenTable tokenTable)
public HttpOAuthConfig getOAuthConfig()
public String getTokenType()
public String getAccessToken()
public String refreshAccessToken()
Copyright © 1970 The Apache Software Foundation. All rights reserved.