Package com.authlete.jaxrs
Class FederationRegistrationRequestHandler
- java.lang.Object
-
- com.authlete.jaxrs.FederationRegistrationRequestHandler
-
public class FederationRegistrationRequestHandler extends Object
Handler for requests to the federation registration endpoint.This class can be used to implement the federation registration endpoint (
federation_registration_endpoint) of the service.- Since:
- 2.53, Authlete 2.3
- See Also:
- OpenID Connect Federation 1.0
-
-
Constructor Summary
Constructors Constructor Description FederationRegistrationRequestHandler(com.authlete.common.api.AuthleteApi api)Constructor with an implementation ofAuthleteApiinterface.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.authlete.jaxrs.AuthleteApiCallergetApiCaller()javax.ws.rs.core.Responsehandle(com.authlete.common.dto.FederationRegistrationRequest request)Handle a request to the federation registration endpoint.javax.ws.rs.core.Responsehandle(com.authlete.common.dto.FederationRegistrationRequest request, com.authlete.common.api.Options options)Handle a request to the federation registration endpoint.protected javax.ws.rs.InternalServerErrorExceptionunexpected(String message, Throwable cause)
-
-
-
Method Detail
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.dto.FederationRegistrationRequest request) throws javax.ws.rs.WebApplicationExceptionHandle a request to the federation registration endpoint. This method is an alias ofhandle(request, null).- Parameters:
request- An "explicit" client registration request.- Returns:
- A response that should be returned from the federation registration endpoint.
- Throws:
javax.ws.rs.WebApplicationException
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.dto.FederationRegistrationRequest request, com.authlete.common.api.Options options) throws javax.ws.rs.WebApplicationExceptionHandle a request to the federation registration endpoint.- Parameters:
request- An "explicit" client registration request.options- The request options for the/api/federation/registrationAPI.- Returns:
- A response that should be returned from the federation registration endpoint.
- Throws:
javax.ws.rs.WebApplicationException- Since:
- 2.82
-
getApiCaller
protected com.authlete.jaxrs.AuthleteApiCaller getApiCaller()
-
-