public interface DataStore
OAuthClient
implementations. Wraps whatever mechanism
the implementing product chooses to support storage of state information for the lifespan of an OAuth-based session.Modifier and Type | Method and Description |
---|---|
String |
getProvider()
Returns the provider that the associated DataStore implementation has been instantiated for.
|
JsonValue |
retrieveData()
Returns the stored data.
|
void |
storeData(JsonValue data)
Stores the data.
|
String getProvider() throws OAuthException
OAuthException
- when an error occurs while retrieving the provider name.void storeData(JsonValue data) throws OAuthException
data
- the data to be stored.OAuthException
- when an error occurs while trying to store the data.JsonValue retrieveData() throws OAuthException
OAuthException
- when an error occurs while retrieving the data.Copyright © 2010-2018, ForgeRock All Rights Reserved.