Class TokenInformationImpl
java.lang.Object
org.codice.ddf.security.token.storage.api.TokenInformationImpl
- All Implemented Interfaces:
TokenInformation
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.codice.ddf.security.token.storage.api.TokenInformation
TokenInformation.TokenEntry -
Constructor Summary
ConstructorsConstructorDescriptionTokenInformationImpl(String id, Map<String, TokenInformation.TokenEntry> tokenEntryMap, Set<String> discoveryUrls, String json) -
Method Summary
-
Constructor Details
-
TokenInformationImpl
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceTokenInformation- Returns:
- the ID associated with the tokens
-
getTokenEntries
- Specified by:
getTokenEntriesin interfaceTokenInformation- Returns:
- a map of sources with their corresponding tokens
-
getDiscoveryUrls
- Specified by:
getDiscoveryUrlsin interfaceTokenInformation- Returns:
- a list of the metadata urls of all the OAuth providers of all the sources
-
getTokenJson
- Specified by:
getTokenJsonin interfaceTokenInformation- Returns:
- a JSON representation of the token
-