<div dir="ltr">Hello  Joe<div><br></div><div>Indeed you can just initialise the config class by itself [1] providing all the OAuth2 provider endpoints. If you want to provide support for different Oauth2 proviers you can also inherit form config and provide your own config. See FacebookConfig for ex [2]</div><div><br></div><div>++</div><div>Corinne</div><div>[1] <a href="https://github.com/aerogear/aerogear-ios-oauth2/blob/master/AeroGearOAuth2/Config.swift#L23">https://github.com/aerogear/aerogear-ios-oauth2/blob/master/AeroGearOAuth2/Config.swift#L23</a></div><div>[2]<a href="https://github.com/aerogear/aerogear-ios-oauth2/blob/master/AeroGearOAuth2/AccountManager.swift#L32">https://github.com/aerogear/aerogear-ios-oauth2/blob/master/AeroGearOAuth2/AccountManager.swift#L32</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 August 2016 at 19:18, Joe Cavallaro <span dir="ltr">&lt;<a href="mailto:joecavallaro@gmail.com" target="_blank">joecavallaro@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div><br></div><div><span style="color:rgb(0,0,0);font-family:lucidagrande;font-size:12px">I&#39;m wanting to use Aerogear&#39;s OAuth2 to authorize several different services in my iOS app, but am a little confused by the &quot;predefined config&quot; examples and how to use a custom config. Do I just initialize a new Config object and pass it?</span><br></div><div><span style="color:rgb(0,0,0);font-family:lucidagrande;font-size:12px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:lucidagrande;font-size:12px">Thanks!</span></div><div><span style="color:rgb(0,0,0);font-family:lucidagrande;font-size:12px"><br></span></div><div><font color="#000000" face="lucidagrande"><span style="font-size:12px">jpcguy89 aka Joe</span></font></div></div>
<br>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>