org.springframework.security.oauth2.provider.endpoint
接口 RedirectResolver

所有已知实现类:
DefaultRedirectResolver, ExactMatchRedirectResolver

public interface RedirectResolver

Basic interface for determining the redirect URI for a user agent.

作者:
Ryan Heaton

方法摘要
 String resolveRedirect(String requestedRedirect, ClientDetails client)
          Resolve the redirect for the specified client.
 

方法详细信息

resolveRedirect

String resolveRedirect(String requestedRedirect,
                       ClientDetails client)
                       throws OAuth2Exception
Resolve the redirect for the specified client.

参数:
requestedRedirect - The redirect that was requested (may not be null).
client - The client for which we're resolving the redirect.
返回:
The resolved redirect URI.
抛出:
OAuth2Exception - If the requested redirect is invalid for the specified client.


Copyright © 2013. All rights reserved.