Ejemplo n.º 1
0
 public static void AquireToken(string udid, Action <bool, string> onCompleted)
 {
     WebRequestService.RequestRaw(
         $"{DomainUrl}{Routes.Authenticate}",
         $@"{{""clientToken"" : ""{udid}""}}",
         UnityWebRequest.kHttpVerbPOST,
         new Dictionary <string, string>
     {
         { ContentTypeHeaderName, AppJsonHeader }
     },
         onCompleted);
 }