using Persona from an iOS app
Перейти к файлу
Dan Walkowski cd45328aaa display of currently logged in user in native UI, as proof the demo is working. full user details available in the console log. 2013-03-25 15:49:27 -07:00
PersonaSDKDemo display of currently logged in user in native UI, as proof the demo is working. full user details available in the console log. 2013-03-25 15:49:27 -07:00
PersonaSDKDemo.xcodeproj Forgot to remove the default Xcode license and replace it with the MPL. Fixed. 2013-03-20 11:41:54 -07:00
PersonaSDKDemoTests Forgot to remove the default Xcode license and replace it with the MPL. Fixed. 2013-03-20 11:41:54 -07:00
README updated readme 2013-03-18 16:27:10 -07:00

README

Persona iOS sdk
---------------

This project was originally based on the BrowserID code by Stefan Arentz, but has been significantly modified.

This is an sdk, an example app, and a trivial server, showing how to use persona sign-in with iOS, and includes UI for iPod/iPhone/iPad. The code assumes iOS 6, and ARC, and requires the trivial server 'proxy.js' running on your local machine:

> node proxy.js

It opens two local ports, pretending to be a backend server/website, trying to authenticate a user.

What does this code do:
-----------------------
- show you how to use Persona to authenticate users for your site from a native iOS application
- provide working UI for all current iOS devices.
- demonstrate the use of the lower level Persona Internal API
- uses extremely fake hard-coded session 'cookies' provided by proxy.js


What doesn't this code do:
--------------------------
- handle all error cases
- have any tests yet (oops)
- lots of other things, I suspect.  Patches welcome.