xamarin.forms - OAuth2 Implemenation with Restsharp.Portable -


i'm doing application android, ios , windows phone using xamarin.forms. need implement login common social platforms , have found on web restsharp.portable. i'm having trouble understand how use library (it correctly imported) oauth2 request. have example or guide helpful?

i struggled restsharp.portable due lack of documentation. instead used redirect url way of getting code generated after user gives permission needed request access token.

i gave browser correct adddress login/permission screen , redirect set made address (http://madeupaddress.com) , on navigating event of browser checked if url started made address, if so, cancel navigation, closed browser , take token uri.query parameters found in navigating event parameters (or named differently depending on control/platform). thenapply access token using code via microsoft http client. windows phone 8.1.

thanks go vittorio bertocci

i ended using microsoft httpclient access token.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -