Interface TokenRegistry

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
PersistentTokenRegistry

public interface TokenRegistry extends AutoCloseable
Persistent Registry for OAuth Tokens
  • Method Details

    • createTokenTable

      void createTokenTable(String pluginName)
      Creates a token table for specified pluginName.
      Parameters:
      pluginName - The name of the plugin instance.
    • getTokenTable

      PersistentTokenTable getTokenTable(String name)
    • deleteTokenTable

      void deleteTokenTable(String pluginName)
      Deletes the token table for specified pluginName.
      Parameters:
      pluginName - name of the plugin whose token table should be removed
    • getAllTokens

      Iterator<Map.Entry<String,Tokens>> getAllTokens()
      Returns iterator for aliases table entries.