Interface TokenInformation

All Known Implementing Classes:
TokenInformationImpl

public interface TokenInformation
Storage for OAuth tokens
  • Method Details

    • getId

      String getId()
      Returns:
      the ID associated with the tokens
    • getTokenEntries

      Returns:
      a map of sources with their corresponding tokens
    • getDiscoveryUrls

      Set<String> getDiscoveryUrls()
      Returns:
      a list of the metadata urls of all the OAuth providers of all the sources
    • getTokenJson

      String getTokenJson()
      Returns:
      a JSON representation of the token