Exemplo n.º 1
0
 public static void AuthenticateWithSteamEncryptedAppTicket(string encodedTicket,
                                                            Action <UserProfile> onSuccess,
                                                            Action <WebRequestError> onError)
 {
     UserAccountManagement.AuthenticateWithSteamEncryptedAppTicket(encodedTicket,
                                                                   false,
                                                                   onSuccess, onError);
 }
Exemplo n.º 2
0
        /// <summary>Attempts to authenticate a user using a Steam Encrypted App Ticket.</summary>
        /// <remarks>This version is designed to match the FacePunch.SteamWorks implementation by
        /// @garrynewman at https://github.com/Facepunch/Facepunch.Steamworks</remarks>
        public static void AuthenticateWithSteamEncryptedAppTicket(byte[] authTicketData,
                                                                   Action <UserProfile> onSuccess,
                                                                   Action <WebRequestError> onError)
        {
            string encodedTicket = Utility.EncodeEncryptedAppTicket(authTicketData, (uint)authTicketData.Length);

            UserAccountManagement.AuthenticateWithSteamEncryptedAppTicket(encodedTicket, onSuccess, onError);
        }
Exemplo n.º 3
0
 public static void AuthenticateWithSteamEncryptedAppTicket(byte[] authTicketData,
                                                            Action <UserProfile> onSuccess,
                                                            Action <WebRequestError> onError)
 {
     UserAccountManagement.AuthenticateWithSteamEncryptedAppTicket(authTicketData,
                                                                   false,
                                                                   onSuccess, onError);
 }
Exemplo n.º 4
0
        /// <summary>Attempts to authenticate a user using a Steam Encrypted App Ticket.</summary>
        /// <remarks>This version is designed to match the Steamworks.NET implementation by
        /// @rlabrecque at https://github.com/rlabrecque/Steamworks.NET</remarks>
        public static void AuthenticateWithSteamEncryptedAppTicket(byte[] pTicket, uint pcbTicket,
                                                                   Action <UserProfile> onSuccess,
                                                                   Action <WebRequestError> onError)
        {
            string encodedTicket = Utility.EncodeEncryptedAppTicket(pTicket, pcbTicket);

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