org.springframework.security.oauth.provider
Interface ConsumerDetailsService

All Known Implementing Classes:
InMemoryConsumerDetailsService

public interface ConsumerDetailsService

A service that provides the details about an oauth consumer.

Author:
Ryan Heaton

Method Summary
 ConsumerDetails loadConsumerByConsumerKey(String consumerKey)
          Load a consumer by the consumer key.
 

Method Detail

loadConsumerByConsumerKey

ConsumerDetails loadConsumerByConsumerKey(String consumerKey)
                                          throws OAuthException
Load a consumer by the consumer key. This method must NOT return null.

Parameters:
consumerKey - The consumer key.
Returns:
The consumer details.
Throws:
OAuthException - If the consumer account is locked, expired, disabled, or for any other reason.


Copyright © 2012. All Rights Reserved.