Reply
28 May 2012
By Buyukcaglar

Buyukcaglar

  • Offline
24%
02 Rank
Progress
Playstation Staff

WebBrowser like Control in PSS

3 Replies 257 Views Created 28-05-2012

Hi,

 

I would like to create an application using Live SDK, Live Connect allows usage of REST API's for your applications but it is necessary to provide a Web Browser or a control acts as Web Browser to sign-in users in order to obtain token for your application, due to nature of usage as stated here; http://msdn.microsoft.com/en-us/library/live/hh826543.aspx#rest

 

is it possible to accomplish such task?

 

Thanks in advance,

0 Kudos
Message 1 of 4 (257 Views)
0 Kudos
Highlighted
TheRealSerapth
MVP
04
/16

TheRealSerapth

  • MVP
  • Offline
88%
04 Rank
Progress
Playstation Staff

Re: WebBrowser like Control in PSS

You don't actually need a browser, you need the ability to handle HTTP requests.

 

Check out the HTTP Sample ( C:\Users\Public\Documents\Pss\sample\Network\HttpSample )

0 Kudos
Message 2 of 4 (240 Views)
0 Kudos
niwrA
04
/16

niwrA

  • Offline
88%
04 Rank
Progress
Playstation Staff

Re: WebBrowser like Control in PSS

I presume the OP's question is regarding this step:

 

When Live Connect receives this call, it checks to see if the user is already signed in. If not, the user is prompted to provide his or her Microsoft account credentials.

After the user successfully signs in and consents to the requested scopes, the Live Connect authorization web service uses the redirect domain to return the user to your app. If you're using the implicit grant flow, you'll see this.

0 Kudos
Message 3 of 4 (212 Views)
0 Kudos
Buyukcaglar
02
/16

Buyukcaglar

  • Offline
24%
02 Rank
Progress
Playstation Staff

Re: WebBrowser like Control in PSS

Yes, exactly as niwrA stated. All of the Live Connect sign-in scenarios supports OAuth Type that utilizes a User Agent such as Web Browser. You can check it out from here ; http://msdn.microsoft.com/en-us/library/live/hh243647.aspx#implicitgrant 

 

Are there any suggestions how to handle sign-in scheme using PSS?

 

Thank you?

0 Kudos
Message 4 of 4 (194 Views)
0 Kudos