org.springframework.security.oauth2.provider.endpoint
Interface RedirectResolver

All Known Implementing Classes:
DefaultRedirectResolver, ExactMatchRedirectResolver

public interface RedirectResolver

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

Author:
Ryan Heaton

Method Summary
 String resolveRedirect(String requestedRedirect, ClientDetails client)
          Resolve the redirect for the specified client.
 

Method Detail

resolveRedirect

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

Parameters:
requestedRedirect - The redirect that was requested (may not be null).
client - The client for which we're resolving the redirect.
Returns:
The resolved redirect URI.
Throws:
OAuth2Exception - If the requested redirect is invalid for the specified client.


Copyright © 2012. All Rights Reserved.