public class InMemoryConsumerDetailsService extends Object implements ConsumerDetailsService
| Constructor and Description |
|---|
InMemoryConsumerDetailsService() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,? extends ConsumerDetails> |
getConsumerDetailsStore() |
ConsumerDetails |
loadConsumerByConsumerKey(String consumerKey)
Load a consumer by the consumer key.
|
void |
setConsumerDetailsStore(Map<String,? extends ConsumerDetails> consumerDetailsStore) |
public ConsumerDetails loadConsumerByConsumerKey(String consumerKey) throws OAuthException
ConsumerDetailsServiceloadConsumerByConsumerKey in interface ConsumerDetailsServiceconsumerKey - The consumer key.OAuthException - If the consumer account is locked, expired, disabled, or for any other reason.public Map<String,? extends ConsumerDetails> getConsumerDetailsStore()
public void setConsumerDetailsStore(Map<String,? extends ConsumerDetails> consumerDetailsStore)
Copyright © 2019. All rights reserved.