org.springframework.security.oauth2.provider
接口 ClientDetailsService

所有已知实现类:
InMemoryClientDetailsService, JdbcClientDetailsService

public interface ClientDetailsService

A service that provides the details about an OAuth2 client.

作者:
Ryan Heaton

方法摘要
 ClientDetails loadClientByClientId(String clientId)
          Load a client by the client id.
 

方法详细信息

loadClientByClientId

ClientDetails loadClientByClientId(String clientId)
                                   throws ClientRegistrationException
Load a client by the client id. This method must not return null.

参数:
clientId - The client id.
返回:
The client details.
抛出:
ClientRegistrationException - If the client account is locked, expired, disabled, or for any other reason.


Copyright © 2013. All rights reserved.