public class Stores extends Object
Modifier and Type | Method and Description |
---|---|
static org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore |
secure(org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore store,
String key)
Returns a ConsumerStore which ciphers/deciphers the consumer secret of its Consumers.
|
static FriendStore |
secure(FriendStore store,
String key)
Returns a FriendStore which ciphers/deciphers the consumer secret of its Friends
|
public static org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore secure(org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore store, String key)
store
- an implementation of ConsumerStore for delegation usingkey
- the encryption keypublic static FriendStore secure(FriendStore store, String key)
store
- an implementation of FriendStore for delegation usingkey
- the encryption key