[aerogear-dev] iOS cordova swift

Erik Jan de Wit edewit at redhat.com
Tue Nov 11 06:57:27 EST 2014


On 11 Nov,2014, at 12:18 , Bruno Oliveira <bruno at abstractj.org> wrote:

> So the idea is to make use of implicit grants like JS does, right? And
> this is what you're suggesting
> https://docs.auth0.com/native-platforms/cordova ?
> 

Right, but then it will be a plugin that will be combine these things so that there are no manual steps needed so after installing the plugin you could do:

oauth2.google("517285908032-l580qf378r0jg5l9ebt52ugvbp5vvf06.apps.googleusercontent.com", ['openid', 'email'])
  .then(function (result) {
    console.log(result);
  }, function (error) {
    alert(error);
  });

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20141111/996b287a/attachment-0001.html 


More information about the aerogear-dev mailing list