Esempio n. 1
0
 public static void AuthenticateWithGOGEncryptedAppTicket(byte[] data, uint dataSize,
                                                          Action <UserProfile> onSuccess,
                                                          Action <WebRequestError> onError)
 {
     UserAccountManagement.AuthenticateWithGOGEncryptedAppTicket(data, dataSize, false,
                                                                 onSuccess, onError);
 }
Esempio n. 2
0
 public static void AuthenticateWithGOGEncryptedAppTicket(string encodedTicket,
                                                          Action <UserProfile> onSuccess,
                                                          Action <WebRequestError> onError)
 {
     UserAccountManagement.AuthenticateWithGOGEncryptedAppTicket(encodedTicket, false,
                                                                 onSuccess, onError);
 }
        /// <summary>Attempts to authenticate a user using a GOG Encrypted App Ticket.</summary>
        public static void AuthenticateWithGOGEncryptedAppTicket(byte[] data, uint dataSize,
                                                                 Action <UserProfile> onSuccess,
                                                                 Action <WebRequestError> onError)
        {
            string encodedTicket = Utility.EncodeEncryptedAppTicket(data, dataSize);

            UserAccountManagement.AuthenticateWithGOGEncryptedAppTicket(encodedTicket, onSuccess, onError);
        }