Esempio n. 1
0
        /// <summary>
        /// Begin a new asynchronous XboxOneConnectRequest
        /// </summary>
        /// <param name="requestData"></param>
        /// <returns>GameSparksAuthentication</returns>
        public async Task <GameSparksAuthenticationResponse> XboxOneConnectRequestAsync(XboxOneConnectRequest requestData)
        {
            var res = await Requestor.PostStringAsync(Urls.XboxOneConnectRequest, SerializeRequest(requestData));

            return(DeserializeResponse(res.ResponseJson));
        }
Esempio n. 2
0
 /// <summary>
 /// Begin a new XboxOneConnectRequest
 /// </summary>
 /// <param name="requestData"></param>
 /// <returns></returns>
 public GameSparksAuthenticationResponse XboxOneConnectRequest(XboxOneConnectRequest requestData)
 {
     return(DeserializeResponse(Requestor.PostString(Urls.XboxOneConnectRequest, SerializeRequest(requestData)).ResponseJson));
 }