public class OAuth2TokenHandler extends Object
| Constructor and Description |
|---|
OAuth2TokenHandler(OAuth2Service service)
Constructs the token handler with the OAuth2Service.
|
| Modifier and Type | Method and Description |
|---|---|
OAuth2NormalizedResponse |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles an OAuth 2.0 request to the token endpoint.
|
protected static String |
listToString(List<String> list)
Private utility to comma-delimit a list of Strings
|
public OAuth2TokenHandler(OAuth2Service service)
service - is the service that will support this handlerpublic OAuth2NormalizedResponse handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
request - is the servlet request objectresponse - is the servlet response objectjavax.servlet.ServletExceptionIOExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.