Class AttestationController


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

      • AttestationController

        public AttestationController()
    • Method Detail

      • register

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

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

        @GET
        @Produces("application/json")
        @Path("/registration")
        public jakarta.ws.rs.core.Response startRegistration​(@QueryParam("username")
                                                             String userName,
                                                             @QueryParam("application")
                                                             String appId,
                                                             @QueryParam("session_id")
                                                             String sessionId,
                                                             @QueryParam("enrollment_code")
                                                             String enrollmentCode)
      • finishRegistration

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