Interface Pass

    • Method Detail

      • enter

        Opt<Identity> enter​(Request request)
                     throws Exception
        Authenticate the user by the request.
        Parameters:
        request - The request
        Returns:
        Identity of the user found
        Throws:
        Exception - If fails
      • exit

        Response exit​(Response response,
                      Identity identity)
               throws Exception
        Wrap the response with the user.
        Parameters:
        response - Response
        identity - Identity
        Returns:
        New response
        Throws:
        Exception - If fails