Interface AuthenticationRequestService


  • public interface AuthenticationRequestService
    The endpoint allows to start and finish U2F authentication 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.AuthenticateStatus finishAuthentication​(java.lang.String userName, java.lang.String authenticateResponseString)  
      io.jans.as.model.fido.u2f.protocol.AuthenticateRequestMessage startAuthentication​(java.lang.String userName, java.lang.String keyHandle, java.lang.String appId, java.lang.String sessionId)  
    • Method Detail

      • startAuthentication

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

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