public class OpenIDConnectCheckSessionEndpoint
extends org.restlet.resource.ServerResource
Constructor and Description |
---|
OpenIDConnectCheckSessionEndpoint(OAuth2RequestFactory requestFactory,
OAuth2Representation representation,
CheckSession checkSession,
org.restlet.routing.Router router,
ExceptionHandler exceptionHandler,
BaseURLProviderFactory baseURLProviderFactory)
Constructs a new OpenIDConnectCheckSessionEndpoint.
|
Modifier and Type | Method and Description |
---|---|
org.restlet.representation.Representation |
checkSession()
Handles GET requests to the OpenId Connect checkSession endpoint to retrieve the status of OpenId Connect user sessions.
|
org.restlet.representation.Representation |
checkSession(org.restlet.representation.Representation entity)
Handles POST requests to the OpenId Connect checkSession endpoint.
|
protected void |
doCatch(Throwable throwable) |
org.restlet.Context |
getContext() |
protected Map<String,Object> |
getDataModel(OAuth2Request oAuth2Request) |
abort, commit, delete, delete, describeVariants, doConditionalHandle, doError, doHandle, doHandle, doHandle, doNegotiatedHandle, get, get, getAnnotation, getAnnotation, getAnnotations, getAttribute, getDescription, getInfo, getInfo, getName, getOnSent, getPreferredVariant, getRole, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, patch, patch, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDescription, setDimensions, setExisting, setLocationRef, setLocationRef, setName, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensions
doError, doInit, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toBoolean, toByte, toDouble, toFloat, toInteger, toLong, toObject, toRepresentation, toRepresentation, toRepresentation, toShort, toString
@Inject public OpenIDConnectCheckSessionEndpoint(OAuth2RequestFactory requestFactory, OAuth2Representation representation, CheckSession checkSession, @Named(value="OAuth2Router") org.restlet.routing.Router router, ExceptionHandler exceptionHandler, BaseURLProviderFactory baseURLProviderFactory)
requestFactory
- An instance of the OAuth2RequestFactory.representation
- An instance of the OAuth2Representation.checkSession
- An instance of the CheckSession.router
- An instance of the Router.exceptionHandler
- An instance of the ExceptionHandler.baseURLProviderFactory
- An instance of the BaseURLProviderFactory.@Get public org.restlet.representation.Representation checkSession() throws OAuth2RestletException
OAuth2RestletException
- If an error occurs whilst ending the users session.@Post public org.restlet.representation.Representation checkSession(org.restlet.representation.Representation entity) throws OAuth2RestletException
entity
- The entity on the request.OAuth2RestletException
- If a OAuth2 error occurs whilst processing the authorization request.protected Map<String,Object> getDataModel(OAuth2Request oAuth2Request) throws UnauthorizedClientException, InvalidClientException, NotFoundException
protected void doCatch(Throwable throwable)
doCatch
in class org.restlet.resource.ServerResource
public org.restlet.Context getContext()
getContext
in class org.restlet.resource.Resource
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.