Interface RegistrationRequestService


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.jans.as.model.fido.u2f.protocol.RegisterStatus finishRegistration​(java.lang.String userName, java.lang.String registerResponseString)  
      io.jans.as.model.fido.u2f.protocol.RegisterRequestMessage startRegistration​(java.lang.String userName, java.lang.String appId, java.lang.String sessionId)  
      io.jans.as.model.fido.u2f.protocol.RegisterRequestMessage startRegistration​(java.lang.String userName, java.lang.String appId, java.lang.String sessionId, java.lang.String enrollmentCode)  
    • Method Detail

      • startRegistration

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

        @GET
        @Produces("application/json")
        io.jans.as.model.fido.u2f.protocol.RegisterRequestMessage 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")
        io.jans.as.model.fido.u2f.protocol.RegisterStatus finishRegistration​(@FormParam("username")
                                                                             java.lang.String userName,
                                                                             @FormParam("tokenResponse")
                                                                             java.lang.String registerResponseString)