Package io.jans.as.server.revoke
Interface RevokeRestWebService
-
- All Known Implementing Classes:
RevokeRestWebServiceImpl
public interface RevokeRestWebService
Provides interface for token revocation REST web services.The Jans Auth authorization server's revocation policy acts as follows: The revocation of a particular token cause the revocation of related tokens and the underlying authorization grant. If the particular token is a refresh token, then the authorization server will also invalidate all access tokens based on the same authorization grant. If the token passed to the request is an access token, the server will revoke the respective refresh token as well.
- Version:
- January 16, 2019
- Author:
- Javier Rojas Blum
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
requestAccessToken(String token, String tokenTypeHint, String clientId, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, jakarta.ws.rs.core.SecurityContext sec)
-
-
-
Method Detail
-
requestAccessToken
@POST @Path("/revoke") @Produces("application/json") jakarta.ws.rs.core.Response requestAccessToken(@FormParam("token") String token, @FormParam("token_type_hint") String tokenTypeHint, @FormParam("client_id") String clientId, @Context jakarta.servlet.http.HttpServletRequest request, @Context jakarta.servlet.http.HttpServletResponse response, @Context jakarta.ws.rs.core.SecurityContext sec)
-
-