Interface AuthenticationRequestService


  • public interface AuthenticationRequestService
    The endpoint allows to start and finish U2F authentication process
    Version:
    August 9, 2017
    Author:
    Yuriy Movchan
    • Method Detail

      • startAuthentication

        @GET
        @Produces("application/json")
        io.jans.as.model.fido.u2f.protocol.AuthenticateRequestMessage startAuthentication​(@QueryParam("username")
                                                                                          String userName,
                                                                                          @QueryParam("keyhandle")
                                                                                          String keyHandle,
                                                                                          @QueryParam("application")
                                                                                          String appId,
                                                                                          @QueryParam("session_id")
                                                                                          String sessionId)
      • finishAuthentication

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