Package com.authlete.jakarta
Class BaseRevocationEndpoint
- java.lang.Object
-
- com.authlete.jakarta.BaseEndpoint
-
- com.authlete.jakarta.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 jakarta.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, RevocationRequestHandler.Params params)Handle a revocation request.jakarta.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, RevocationRequestHandler.Params params, com.authlete.common.api.Options options)Handle a revocation request.jakarta.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, jakarta.ws.rs.core.MultivaluedMap<String,String> parameters, String authorization)Handle a revocation request.jakarta.ws.rs.core.Responsehandle(com.authlete.common.api.AuthleteApi api, jakarta.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.jakarta.BaseEndpoint
extractClientCertificate, extractClientCertificateChain, extractHeadersAsPairs, onError, takeAttribute
-
-
-
-
Method Detail
-
handle
public jakarta.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, jakarta.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 jakarta.ws.rs.core.Response handle(com.authlete.common.api.AuthleteApi api, jakarta.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 jakarta.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 jakarta.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
-
-