Interface RegistrationRequestService


  • public interface RegistrationRequestService
    Еhe endpoint allows to start and finish U2F registration process
    Version:
    August 9, 2017
    Author:
    Yuriy Movchan
    • Method Detail

      • startRegistration

        @GET
        @Produces("application/json")
        io.jans.as.model.fido.u2f.protocol.RegisterRequestMessage startRegistration​(@QueryParam("username")
                                                                                    String userName,
                                                                                    @QueryParam("application")
                                                                                    String appId,
                                                                                    @QueryParam("session_id")
                                                                                    String sessionId)
      • startRegistration

        @GET
        @Produces("application/json")
        io.jans.as.model.fido.u2f.protocol.RegisterRequestMessage startRegistration​(@QueryParam("username")
                                                                                    String userName,
                                                                                    @QueryParam("application")
                                                                                    String appId,
                                                                                    @QueryParam("session_id")
                                                                                    String sessionId,
                                                                                    @QueryParam("enrollment_code")
                                                                                    String enrollmentCode)
      • finishRegistration

        @POST
        @Produces("application/json")
        io.jans.as.model.fido.u2f.protocol.RegisterStatus finishRegistration​(@FormParam("username")
                                                                             String userName,
                                                                             @FormParam("tokenResponse")
                                                                             String registerResponseString)