Package io.jans.fido2.ws.rs.controller
Class AssertionController
- java.lang.Object
-
- io.jans.fido2.ws.rs.controller.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 Summary
Constructors Constructor Description AssertionController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
authenticate(String content)
jakarta.ws.rs.core.Response
finishAuthentication(String userName, String authenticateResponseString)
jakarta.ws.rs.core.Response
generateAuthenticate(String content)
jakarta.ws.rs.core.Response
startAuthentication(String userName, String keyHandle, String appId, String sessionId)
jakarta.ws.rs.core.Response
verify(String content)
-
-
-
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)
-
-