Package io.jans.as.server.revoke
Class RevokeRestWebServiceImpl
- java.lang.Object
-
- io.jans.as.server.revoke.RevokeRestWebServiceImpl
-
- All Implemented Interfaces:
RevokeRestWebService
@Path("/") public class RevokeRestWebServiceImpl extends Object implements RevokeRestWebService
Provides interface for token revocation REST web services- Author:
- Javier Rojas Blum, Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description RevokeRestWebServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
requestAccessToken(String tokenString, String tokenTypeHint, String clientId, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.ws.rs.core.SecurityContext sec)
void
validateSameClient(AuthorizationGrant grant, io.jans.as.common.model.registration.Client client)
void
validateScope(AuthorizationGrant authorizationGrant, io.jans.as.common.model.registration.Client client)
-
-
-
Method Detail
-
requestAccessToken
public jakarta.ws.rs.core.Response requestAccessToken(String tokenString, String tokenTypeHint, String clientId, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.ws.rs.core.SecurityContext sec)
- Specified by:
requestAccessToken
in interfaceRevokeRestWebService
-
validateScope
public void validateScope(AuthorizationGrant authorizationGrant, io.jans.as.common.model.registration.Client client)
-
validateSameClient
public void validateSameClient(AuthorizationGrant grant, io.jans.as.common.model.registration.Client client)
-
-