private HyvesServerSession LoadHyvesSession(AuthArgs authArgs) { var hyvesSessionState = (HyvesSessionState)authArgs.InternalData["hyvesSessionState"]; var hyvesServerSession = new HyvesServerSession(authArgs.Application.ApplicationKey, authArgs.Application.ApplicationSecret, new List<HyvesMethod>()); hyvesServerSession.LoadState(hyvesSessionState); return hyvesServerSession; }
private HyvesServerSession LoadHyvesSession(AuthArgs authArgs) { var hyvesSessionState = (HyvesSessionState)authArgs.InternalData["hyvesSessionState"]; var hyvesServerSession = new HyvesServerSession(authArgs.Application.ApplicationKey, authArgs.Application.ApplicationSecret, new List <HyvesMethod>()); hyvesServerSession.LoadState(hyvesSessionState); return(hyvesServerSession); }