public class OAuth2FlowFinder
extends org.restlet.resource.Finder
Constructor and Description |
---|
OAuth2FlowFinder(OAuth2RequestFactory requestFactory,
ExceptionHandler exceptionHandler,
Map<String,org.restlet.resource.Finder> endpointClasses)
Constructs a new OAuth2FlowFinder.
|
Modifier and Type | Method and Description |
---|---|
org.restlet.resource.ServerResource |
create(org.restlet.Request request,
org.restlet.Response response)
Creates a new instance of the handler for the correct OAuth2 endpoint based from the grant type specified in
the requests query parameters.
|
create, createFinder, find, getTargetClass, handle, setTargetClass, toString
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner, start, stop
public OAuth2FlowFinder(OAuth2RequestFactory requestFactory, ExceptionHandler exceptionHandler, Map<String,org.restlet.resource.Finder> endpointClasses)
requestFactory
- An instance of the OAuth2RequestFactory.exceptionHandler
- An instance of the ExceptionHandler.endpointClasses
- The endpoint handlers for the OAuth2 token endpoints.public org.restlet.resource.ServerResource create(org.restlet.Request request, org.restlet.Response response)
create
in class org.restlet.resource.Finder
request
- response
- Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.