Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class OAuth2AuthorizationEndpointFilter
- Object
- OAuth2AuthorizationEndpointFilter
ImplementsSecurityFilter
Answers the endpoints of an authorization server a user must be signed in for: the authorization endpoint and the device verification page.
It runs once the chain knows who the request is from, and inside the part of the chain that turns “nobody is signed in” into a trip to the login page and back – so the user signs in whichever way the chain declares, and arrives here again with the request they started with.
Methods
public HttpServer.Response doFilter(HttpServer.Request request, FilterChain chain)
throws Exception | The answer to request; null when nothing under the chain routes it, which the server answers 404. |
Inherited methods
Method details
doFilter
public HttpServer.Response doFilter(HttpServer.Request request, FilterChain chain)
throws ExceptionThe answer to
request; null when nothing under the chain routes it,
which the server answers 404.