Hello  Joe

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]

++
Corinne
[1] https://github.com/aerogear/aerogear-ios-oauth2/blob/master/AeroGearOAuth2/Config.swift#L23
[2]https://github.com/aerogear/aerogear-ios-oauth2/blob/master/AeroGearOAuth2/AccountManager.swift#L32

On 30 August 2016 at 19:18, Joe Cavallaro <joecavallaro@gmail.com> wrote:
Hello all,

I'm wanting to use Aerogear's OAuth2 to authorize several different services in my iOS app, but am a little confused by the "predefined config" examples and how to use a custom config. Do I just initialize a new Config object and pass it?

Thanks!

jpcguy89 aka Joe

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev