ios6 - Is it feasible to extend Xamarin.Auth or Xamarin.Social to support native iOS 6 login with fallback to Safari? -


we have app uses facebook sdk logging in.
support ios 6 native login, fallback facebook app , safari.

we're adding twitter support soon.
want implement ios 6 login safari fallback it.

is there code in xamarin.auth or xamarin.social can reuse, or need write scratch? need able retrieve access tokens, store them , authenticate requests.

i tried writing own authenticator xamarin.auth, design insists provide view controller authentication, whereas need either show ios 6 auth dialog, or safari.

xamarin.auth.authenticator sublcasses single methods of authentication, there's no built in fallback mechanism. you'd have choose whether wanted use native or safari earlier in process , use appropriate authenticator it.

authenticators provide both means user provide information (through, say, web page using webredirectauthenticator) , obtain user tokens , other information. oauth2authenticator, example, uses webredirectauthenticator take authorization page , later retrieve access tokens redirect.

xamarin.social uses authenticator when open sharing compose page , need authenticate , along xamarin.auth uses authenticator in creation of requests include necessary authorization information.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -