/// <summary> /// Begin a new GameCenterConnectRequest /// </summary> /// <param name="requestData"></param> /// <returns></returns> public GameSparksAuthenticationResponse GameCenterConnectRequest(GameCenterConnectRequest requestData) { return(DeserializeResponse(Requestor.PostString(Urls.GameCenterConnectRequest, SerializeRequest(requestData)).ResponseJson)); }
/// <summary> /// Begin a new asynchronous GameCenterConnectRequest /// </summary> /// <param name="requestData"></param> /// <returns>GameSparksAuthentication</returns> public async Task <GameSparksAuthenticationResponse> GameCenterConnectRequestAsync(GameCenterConnectRequest requestData) { var res = await Requestor.PostStringAsync(Urls.GameCenterConnectRequest, SerializeRequest(requestData)); return(DeserializeResponse(res.ResponseJson)); }