<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body>
    <div class="moz-cite-prefix">Thanks for the feedback guys, I'll look
      at creating a PR promptly.<br>
      <br>
      Brian<br>
      <br>
      On 2015-02-25 12:22 AM, Matthias Wessendorf wrote:<br>
    </div>
    <blockquote
cite="mid:CAAg5f2Tjnd4JRGSH-Po12AQiM-MOhn-nsr5obUx+WwRSDTRqJw@mail.gmail.com"
      type="cite">
      <div dir="ltr">+1 on joing forces :-) (see also passos' hint) 
        <div>hehe</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Feb 25, 2015 at 8:01 AM, Erik
          Jan de Wit <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Brian,<br>
            <br>
            Cool stuff, seems like your javascript api is very similar
            to what we have on the cordova plugin. Would be great if you
            could add it.<br>
            <br>
            Cheers,<br>
                    Erik Jan<br>
            <div class="HOEnZb">
              <div class="h5"><br>
                &gt; On 24 Feb,2015, at 19:46 , Brian Leathem &lt;<a
                  moz-do-not-send="true"
                  href="mailto:bleathem@gmail.com">bleathem@gmail.com</a>&gt;
                wrote:<br>
                &gt;<br>
                &gt; Hey gear-heads,<br>
                &gt;<br>
                &gt; I recently wrote a Cordova plugin that retrieves a
                Oauth2 token on<br>
                &gt; Android using Google Play Services.  The advantage
                of this approach is<br>
                &gt; it leverages the single-sign-on capabilities of
                android, and the app can<br>
                &gt; retrieve the Oauth2 token without requiring
                Authentication from the<br>
                &gt; user. I blogged about it here:<br>
                &gt;<br>
                &gt; <a moz-do-not-send="true"
href="http://www.bleathem.ca/blog/2015/02/cordova-oauth-google-services.html"
                  target="_blank">http://www.bleathem.ca/blog/2015/02/cordova-oauth-google-services.html</a><br>
                &gt;<br>
                &gt; Using a promise-based API it's fairly trivial to
                fallback to a<br>
                &gt; traditional Web authentication/authorisation for
                the Oauth2 token when<br>
                &gt; the google-play-services approach isn't supported.<br>
                &gt;<br>
                &gt; I'm aware the aerogear team has a Oauth2 cordova
                plugin [1], but it's<br>
                &gt; not clear to me if the google-play-services
                integration is supported.<br>
                &gt; If the Aerogeam would find it useful, I'd be more
                than happy to provide<br>
                &gt; a PR to the aerogear cordova plugin providing such
                integration.<br>
                &gt;<br>
                &gt; Thoughts?<br>
                &gt; Brian<br>
                &gt;<br>
                &gt; [1]<br>
                &gt; <a moz-do-not-send="true"
href="http://staging-aerogearsite.rhcloud.com/docs/specs/aerogear-cordova/OAuth2.html"
                  target="_blank">http://staging-aerogearsite.rhcloud.com/docs/specs/aerogear-cordova/OAuth2.html</a><br>
                &gt; _______________________________________________<br>
                &gt; aerogear-dev mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
                &gt; <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
                <br>
                <br>
                _______________________________________________<br>
                aerogear-dev mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/aerogear-dev"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">Matthias Wessendorf <br>
          <br>
          blog: <a moz-do-not-send="true"
            href="http://matthiaswessendorf.wordpress.com/"
            target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
          sessions: <a moz-do-not-send="true"
            href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
          twitter: <a moz-do-not-send="true"
            href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
aerogear-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>