public class OAuth2Impl extends java.lang.Object implements AuthorizationServer
| Modifier and Type | Class and Description |
|---|---|
static class |
OAuth2Impl.XAccessToken |
AuthorizationServer.AccessTokenDOMAIN| Constructor and Description |
|---|
OAuth2Impl() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(ServletRequest request,
ServletResponse arg1,
FilterChain chain) |
<any> |
getAccessToken(java.lang.String... scope) |
<any> |
getAccessToken(java.lang.String name) |
java.net.URI |
getAuthorizationEndpoint(java.lang.String name,
java.net.URI success,
java.net.URI failure,
java.lang.String... scope) |
java.lang.String |
getClientId() |
void |
getEnrouteredirectendpoint(osgi.enroute.oauth2.basic.provider.OAuth2Impl.RedirectEndpointOptions rq) |
void |
init(FilterConfig arg0) |
public OAuth2Impl()
throws java.lang.Exception
java.lang.Exceptionpublic void destroy()
public void doFilter(ServletRequest request,
ServletResponse arg1,
FilterChain chain)
throws java.io.IOException,
ServletException
java.io.IOExceptionServletExceptionpublic void init(FilterConfig arg0)
throws ServletException
ServletExceptionpublic java.lang.String getClientId()
getClientId in interface AuthorizationServerpublic java.net.URI getAuthorizationEndpoint(java.lang.String name,
java.net.URI success,
java.net.URI failure,
java.lang.String... scope)
throws java.lang.Exception
getAuthorizationEndpoint in interface AuthorizationServerjava.lang.Exceptionpublic <any> getAccessToken(java.lang.String name)
throws java.lang.Exception
getAccessToken in interface AuthorizationServerjava.lang.Exceptionpublic void getEnrouteredirectendpoint(osgi.enroute.oauth2.basic.provider.OAuth2Impl.RedirectEndpointOptions rq)
throws java.lang.Exception
java.lang.Exceptionpublic <any> getAccessToken(java.lang.String... scope)
throws java.lang.Exception
getAccessToken in interface AuthorizationServerjava.lang.ExceptionCopyright (c) OSGi Alliance (2014, 2020). All Rights Reserved.