public async Task <Session> RefreshAsync(MakoClient makoClient)
 {
     return((await makoClient.Resolve <IAuthEndPoint>().RefreshAsync(new RefreshSessionRequest(makoClient.Session.RefreshToken)).ConfigureAwait(false))
            .ToSession() with
     {
         Cookie = makoClient.Session.Cookie,
         CookieCreation = makoClient.Session.CookieCreation
     });
Ejemplo n.º 2
0
 public async Task <Session> RefreshAsync(MakoClient makoClient)
 {
     return((await makoClient.Resolve <IAuthEndPoint>().Refresh(new RefreshSessionRequest(makoClient.Session.RefreshToken)).ConfigureAwait(false))
            .ToSession().With(makoClient.Session));
 }