Class AssertionController


  • @ApplicationScoped
    @Path("/assertion")
    public class AssertionController
    extends Object
    serves request for /assertion endpoint exposed by FIDO2 sever
    Version:
    May 08, 2020
    Author:
    Yuriy Movchan
    • Constructor Detail

      • AssertionController

        public AssertionController()
    • Method Detail

      • authenticate

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        @Path("/options")
        public jakarta.ws.rs.core.Response authenticate​(String content)
      • generateAuthenticate

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        @Path("/options/generate")
        public jakarta.ws.rs.core.Response generateAuthenticate​(String content)
      • verify

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        @Path("/result")
        public jakarta.ws.rs.core.Response verify​(String content)
      • startAuthentication

        @GET
        @Produces("application/json")
        @Path("/authentication")
        public jakarta.ws.rs.core.Response startAuthentication​(@QueryParam("username")
                                                               String userName,
                                                               @QueryParam("keyhandle")
                                                               String keyHandle,
                                                               @QueryParam("application")
                                                               String appId,
                                                               @QueryParam("session_id")
                                                               String sessionId)
      • finishAuthentication

        @POST
        @Produces("application/json")
        @Path("/authentication")
        public jakarta.ws.rs.core.Response finishAuthentication​(@FormParam("username")
                                                                String userName,
                                                                @FormParam("tokenResponse")
                                                                String authenticateResponseString)