Interface AccessTokenProvider
public interface AccessTokenProvider
Returns access tokens
-
Method Summary
Modifier and TypeMethodDescriptionReturns the allowed hosts validator.getAuthorizationToken(URI uri, Map<String, Object> additionalAuthenticationContext) This method returns the access token for the provided url.
-
Method Details
-
getAuthorizationToken
@Nonnull String getAuthorizationToken(@Nonnull URI uri, @Nullable Map<String, Object> additionalAuthenticationContext) This method returns the access token for the provided url.- Parameters:
uri- The target URI to get an access token for.additionalAuthenticationContext- Additional authentication context to pass to the authentication library.- Returns:
- the access token.
-
getAllowedHostsValidator
Returns the allowed hosts validator.- Returns:
- The allowed hosts validator.
-