예제 #1
0
파일: Main.cs 프로젝트: Akaike0/SecuresStd
        // Unprotected
        public async Task <IStartSessionResponse.StartSession> StartSession(string key)
        {
            var result = await client.SendMutationAsync <IStartSessionResponse>(mutations.START_SESSION(key, _projectID, Guid.NewGuid().ToString("N")));

            _sessionID = result.Data.startSession.sessionID;
            _deviceID  = result.Data.startSession.deviceID;

            return(result.Data.startSession);
        }