Package com.authlete.jaxrs
Class CredentialNonceRequestHandler
- java.lang.Object
-
- com.authlete.jaxrs.CredentialNonceRequestHandler
-
public class CredentialNonceRequestHandler extends Object
Handler for requests to the nonce endpoint of the credential issuer.- Since:
- 2.90, Authlete 3.0.22
- See Also:
- OpenID for Verifiable Credential Issuance 1.0
-
-
Constructor Summary
Constructors Constructor Description CredentialNonceRequestHandler(com.authlete.common.api.AuthleteApi api)Constructor with an implementation ofAuthleteApiinterface.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.authlete.jaxrs.AuthleteApiCallergetApiCaller()javax.ws.rs.core.Responsehandle(com.authlete.common.dto.CredentialNonceRequest request)Handle a request to the nonce endpoint.javax.ws.rs.core.Responsehandle(com.authlete.common.dto.CredentialNonceRequest request, com.authlete.common.api.Options options)Handle a request to the nonce endpoint.protected javax.ws.rs.InternalServerErrorExceptionunexpected(String message, Throwable cause)
-
-
-
Method Detail
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.dto.CredentialNonceRequest request) throws javax.ws.rs.WebApplicationExceptionHandle a request to the nonce endpoint. This method is an alias of thehandle(request, null).- Parameters:
request- A request to the nonce endpoint.- Returns:
- A response that should be returned from the nonce endpoint
- Throws:
javax.ws.rs.WebApplicationException
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.dto.CredentialNonceRequest request, com.authlete.common.api.Options options) throws javax.ws.rs.WebApplicationExceptionHandle a request to the nonce endpoint.- Parameters:
request- A request to the nonce endpoint.options- The request options for the/api/<service-id>/vci/nonceAPI.- Returns:
- A response that should be returned from the nonce endpoint.
- Throws:
javax.ws.rs.WebApplicationException
-
getApiCaller
protected com.authlete.jaxrs.AuthleteApiCaller getApiCaller()
-
-