Forum ActionScript 3.0 is PlayerIO.authenticate Depricated..

Problems and discussions relating to ActionScript 3.0 here.

is PlayerIO.authenticate Depricated..

Postby aseemgarg321 » February 22nd, 2017, 3:05 pm

Hi,

I am not able to find PlayerIO.authenticate in lastest PlayerIOClient.SWC file of latest SDK..

Is this done on purpose or done by Mistake..

My concern here is - I use Flash ANE to get AccessToken from FB and then I am using following code to get my FB authentication done -

PlayerIO.Authenticate(
"[Enter your game id here]", //Your game id
"public", //Your connection id
new Dictionary<string, string> { //Authentication arguments
{"accessToken", "[access token]"}, //Access token
},
null, //PlayerInsight segments
delegate(Client client) {
//Success!
},
delegate(PlayerIOError error) {
//Error authenticating.
}
);


Will Authenticate gone, how shall we Authenticate FB players?

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: is PlayerIO.authenticate Depricated..

Postby aseemgarg321 » February 22nd, 2017, 3:08 pm

Will facebookOAuthConnect have same affect as Authenticate??

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am

Re: is PlayerIO.authenticate Depricated..

Postby Henrik » February 22nd, 2017, 10:26 pm

Hi Aseem,

That example code is C# code, not AS3. The AS3 method looks like this:

https://playerio.com/documentation/refe ... thenticate
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: is PlayerIO.authenticate Depricated..

Postby aseemgarg321 » February 23rd, 2017, 3:09 am

PlayerIO.authenticate is missing from AS3 SDK..
Kindly Check..

Thanks,
Aseem
aseemgarg321
 
Posts: 104
Joined: March 28th, 2015, 9:54 am


Return to ActionScript 3.0