Closed
Description
It would be nice to implement session based OneTimeTokenService
. Now this is difficult to do, because OneTimeTokenService
accepts GenerateOneTimeTokenRequest
. It is better to change the design of the generate
method - replace GenerateOneTimeTokenRequest with HttpServletRequest.
It is not yet clear how you can call consume
for an http session.