Package io.jans.as.server.ws.rs.fido.u2f
Class U2fRegistrationWS
- java.lang.Object
-
- io.jans.as.server.ws.rs.fido.u2f.U2fRegistrationWS
-
@Path("/fido/u2f/registration") public class U2fRegistrationWS extends java.lang.Object
The endpoint allows to start and finish U2F registration process- Version:
- August 9, 2017
- Author:
- Yuriy Movchan
-
-
Constructor Summary
Constructors Constructor Description U2fRegistrationWS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
finishRegistration(java.lang.String userName, java.lang.String registerResponseString)
javax.ws.rs.core.Response
startRegistration(java.lang.String userName, java.lang.String appId, java.lang.String sessionId, java.lang.String enrollmentCode)
-
-
-
Method Detail
-
startRegistration
@GET @Produces("application/json") public javax.ws.rs.core.Response startRegistration(@QueryParam("username") java.lang.String userName, @QueryParam("application") java.lang.String appId, @QueryParam("session_id") java.lang.String sessionId, @QueryParam("enrollment_code") java.lang.String enrollmentCode)
-
finishRegistration
@POST @Produces("application/json") public javax.ws.rs.core.Response finishRegistration(@FormParam("username") java.lang.String userName, @FormParam("tokenResponse") java.lang.String registerResponseString)
-
-