Package com.authlete.jaxrs
Class BaseRevocationEndpoint
- java.lang.Object
-
- com.authlete.jaxrs.BaseEndpoint
-
- com.authlete.jaxrs.BaseRevocationEndpoint
-
public class BaseRevocationEndpoint extends BaseEndpoint
A base class for revocation endpoint implementations.- Since:
- 1.1
- Author:
- Takahiko Kawasaki
- See Also:
- RFC 7009 : OAuth 2.0 Token Revocation,
RevocationRequestHandler
-
-
Constructor Summary
Constructors Constructor Description BaseRevocationEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, RevocationRequestHandler.Params params)Handle a revocation request.javax.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, RevocationRequestHandler.Params params, com.authlete.common.api.Options options)Handle a revocation request.javax.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, javax.ws.rs.core.MultivaluedMap<String,String> parameters, String authorization)Handle a revocation request.javax.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, javax.ws.rs.core.MultivaluedMap<String,String> parameters, String authorization, com.authlete.common.api.Options options)Handle a revocation request.-
Methods inherited from class com.authlete.jaxrs.BaseEndpoint
extractClientCertificate, extractClientCertificateChain, extractHeadersAsPairs, onError, takeAttribute
-
-
-
-
Method Detail
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, javax.ws.rs.core.MultivaluedMap<String,String> parameters, String authorization)Handle a revocation request. This method is an alias ofhandle(api, parameters, authorization, null).- Parameters:
api- An implementation ofAuthleteApi.parameters- The request parameters of a revocation request.authorization- The value ofAuthorizationheader.- Returns:
- A response that should be returned to the client application.
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, javax.ws.rs.core.MultivaluedMap<String,String> parameters, String authorization, com.authlete.common.api.Options options)Handle a revocation request. This method is an alias ofhandle(api, parameters, authorization, null).- Parameters:
api- An implementation ofAuthleteApi.parameters- The request parameters of a revocation request.authorization- The value ofAuthorizationheader.options- The request options for the/api/auth/revocationAPI.- Returns:
- A response that should be returned to the client application.
- Since:
- 2.82
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, RevocationRequestHandler.Params params)Handle a revocation request. This method is an alias ofhandle(api, params, null).- Parameters:
api- An implementation ofAuthleteApi.params- Parameters for Authlete's/api/auth/revocationAPI.- Returns:
- A response that should be returned to the client application.
- Since:
- 2.79
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, RevocationRequestHandler.Params params, com.authlete.common.api.Options options)Handle a revocation request.- Parameters:
api- An implementation ofAuthleteApi.params- The request parameters for Authlete's/api/auth/revocationAPI.options- The request options for Authlete's/api/auth/revocationAPI.- Returns:
- A response that should be returned to the client application.
- Since:
- 2.82
-
-