Class CredentialNonceRequestHandler

    • Constructor Detail

      • CredentialNonceRequestHandler

        public CredentialNonceRequestHandler​(com.authlete.common.api.AuthleteApi api)
        Constructor with an implementation of AuthleteApi interface.
        Parameters:
        api - Implementation of AuthleteApi interface.
    • Method Detail

      • handle

        public javax.ws.rs.core.Response handle​(com.authlete.common.dto.CredentialNonceRequest request)
                                         throws javax.ws.rs.WebApplicationException
        Handle a request to the nonce endpoint. This method is an alias of the handle(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.WebApplicationException
        Handle a request to the nonce endpoint.
        Parameters:
        request - A request to the nonce endpoint.
        options - The request options for the /api/<service-id>/vci/nonce API.
        Returns:
        A response that should be returned from the nonce endpoint.
        Throws:
        javax.ws.rs.WebApplicationException
      • getApiCaller

        protected com.authlete.jaxrs.AuthleteApiCaller getApiCaller()
      • unexpected

        protected javax.ws.rs.InternalServerErrorException unexpected​(String message,
                                                                      Throwable cause)