Class TokenInformationImpl.TokenEntryImpl
java.lang.Object
org.codice.ddf.security.token.storage.api.TokenInformationImpl.TokenEntryImpl
- All Implemented Interfaces:
TokenInformation.TokenEntry
- Enclosing class:
- TokenInformationImpl
public static class TokenInformationImpl.TokenEntryImpl
extends Object
implements TokenInformation.TokenEntry
-
Constructor Summary
ConstructorsConstructorDescriptionTokenEntryImpl(String accessToken, String refreshToken, String discoveryUrl) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
TokenEntryImpl
-
-
Method Details
-
getAccessToken
- Specified by:
getAccessTokenin interfaceTokenInformation.TokenEntry- Returns:
- the access token
-
getRefreshToken
- Specified by:
getRefreshTokenin interfaceTokenInformation.TokenEntry- Returns:
- the refresh token
-
getDiscoveryUrl
- Specified by:
getDiscoveryUrlin interfaceTokenInformation.TokenEntry- Returns:
- the OAuth provider's url
-