Interface AccessTokenProvider


public interface AccessTokenProvider
Returns access tokens
  • 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

      @Nonnull AllowedHostsValidator getAllowedHostsValidator()
      Returns the allowed hosts validator.
      Returns:
      The allowed hosts validator.