Interface JdkAuthFactory.TokenProvider
- All Known Implementing Classes:
JdkAuthFactory.OAuth2TokenProvider
- Enclosing class:
JdkAuthFactory
public static interface JdkAuthFactory.TokenProvider
Interface for providing authentication tokens.
-
Method Summary
-
Method Details
-
getToken
Gets a valid access token, refreshing if necessary.- Returns:
- the access token
- Throws:
IOException- if token retrieval fails
-