Class U2fAuthenticationWS


  • @Path("/fido/u2f/authentication")
    public class U2fAuthenticationWS
    extends java.lang.Object
    The endpoint allows to start and finish U2F authentication process
    Version:
    August 9, 2017
    Author:
    Yuriy Movchan
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response finishAuthentication​(java.lang.String userName, java.lang.String authenticateResponseString)  
      javax.ws.rs.core.Response startAuthentication​(java.lang.String userName, java.lang.String keyHandle, java.lang.String appId, java.lang.String sessionId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • U2fAuthenticationWS

        public U2fAuthenticationWS()
    • Method Detail

      • startAuthentication

        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response 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")
        public javax.ws.rs.core.Response finishAuthentication​(@FormParam("username")
                                                              java.lang.String userName,
                                                              @FormParam("tokenResponse")
                                                              java.lang.String authenticateResponseString)