Package io.jans.fido2.ws.rs.controller
Class AttestationController
- java.lang.Object
-
- io.jans.fido2.ws.rs.controller.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 Summary
Constructors Constructor Description AttestationController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
finishRegistration(String userName, String registerResponseString)
jakarta.ws.rs.core.Response
register(String content)
jakarta.ws.rs.core.Response
startRegistration(String userName, String appId, String sessionId, String enrollmentCode)
jakarta.ws.rs.core.Response
verify(String content)
-
-
-
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)
-
-