[aerogear-dev] [iOS] Auth: API for login, signup and logout

Matthias Wessendorf matzew at apache.org
Thu Oct 4 09:50:58 EDT 2012


Hello,

this is the first design of the AGAuthenticationModule and its
AGAuthenticationManager class. Initial design is based on the JS
API...

The AGAuthenticationManager class is responsible to create and store
different 'Auth Modules' for an iOS Application. The interface is
posted here:
https://gist.github.com/3833331

Each 'module' is represented by an implementation of the
AGAuthenticationModule protocol. The first(default) implementation is
done by using RESTful endpoints... (like in JavaScript land). The
protocol draft is located here:
https://gist.github.com/3833333

How does all work together ? I have posted a simple API usage document:
https://gist.github.com/3833597


Right now, I am weaving the AGAuthenticationModule into the 'pipe'
API, so that 'read' etc work, against protected endpoints.


-Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


More information about the aerogear-dev mailing list