private HyvesSession GetHyvesSession(Account account) { var hyvesSession = new HyvesSession(account.Application.ApplicationKey, account.Application.ApplicationSecret, new List <HyvesMethod> { HyvesMethod.All }); hyvesSession.InitializeToken(account.AccessToken, account.AccessTokenSecret, DateTime.MinValue); return(hyvesSession); }
private HyvesSession GetHyvesSession(Account account) { var hyvesSession = new HyvesSession(account.Application.ApplicationKey, account.Application.ApplicationSecret, new List<HyvesMethod> { HyvesMethod.All }); hyvesSession.InitializeToken(account.AccessToken, account.AccessTokenSecret, DateTime.MinValue); return hyvesSession; }