Interface TokenInformation
- All Known Implementing Classes:
TokenInformationImpl
public interface TokenInformation
Storage for OAuth tokens
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getId
String getId()- Returns:
- the ID associated with the tokens
-
getTokenEntries
Map<String,TokenInformation.TokenEntry> getTokenEntries()- Returns:
- a map of sources with their corresponding tokens
-
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
-