public ActionResult <SessionChallenge> CreateSession(SessionChallenge session) { _sessionChallengeCommand.CreateSession(session); return(Ok("Session created successfully")); }
private void InitLoginImpl(InitLoginReq req, InitLoginResp resp) { SessionChallenge challenge = Server.SessionManager.CreateChallenge(req.Auth.GetClientCode()); resp.Challenge = challenge.Challenge; }
public void CreateSession(SessionChallenge session) { _context.Add(session); _context.SaveChanges(); }
public void CreateSession(SessionChallenge session) { _sessionChallengeRepository.CreateSession(session); }