[aerogear-dev] OAuth2 Question - Config
Corinne Krych
corinnekrych at gmail.com
Wed Aug 31 01:23:04 EDT 2016
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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20160831/14f45bb1/attachment-0001.html
More information about the aerogear-dev
mailing list