Package org.apache.drill.exec.oauth
Interface TokenRegistry
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
PersistentTokenRegistry
Persistent Registry for OAuth Tokens
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createTokenTable
(String pluginName) Creates a token table for specifiedpluginName
.void
deleteTokenTable
(String pluginName) Deletes the token table for specifiedpluginName
.Returns iterator for aliases table entries.getTokenTable
(String name) Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
createTokenTable
Creates a token table for specifiedpluginName
.- Parameters:
pluginName
- The name of the plugin instance.
-
getTokenTable
-
deleteTokenTable
Deletes the token table for specifiedpluginName
.- Parameters:
pluginName
- name of the plugin whose token table should be removed
-
getAllTokens
Returns iterator for aliases table entries.
-