<FromGitter>
<damianham> @andrewc910 thanks for creating this authentication shard. If you don't mind I would like to make a few points: ⏎ Micrate migrations can alter tables - the Readme says otherwise, e.g. ⏎ ⏎ ```code paste, see link``` ⏎ ... [https://gitter.im/amberframework/amber?at=5e1c223e6be93b6b36d3069f]
<FromGitter>
<andrewc910> @damianham feel free to make recommendations anytime! Love your work.
<FromGitter>
<andrewc910> I was trying and couldn't figure out the micrate problem. You can read about it in this chatroom a day or two ago. Does it have to be single line alter statements? I was trying something like(don't mind syntax, on mobile):
<FromGitter>
<andrewc910> With 2-3 add column statements in the parentheses. Sorry, can't 'enter' on mobile without sending a message hence the black bar above.
<FromGitter>
<andrewc910> Yeah, I know I want the cli so I'm leaving it for now but my focus is changing to the individual modules.
<FromGitter>
<andrewc910> Contrive name sucks. Thought of authy, not a fan. Authy::Authentication doesn't look very good imo. I would like an actual name but also something that explains itself. This is an easy change down the road. Open to ideas.
<FromGitter>
<andrewc910> I like the idea of separating each provider into its own module. Will look into that!
<FromGitter>
<andrewc910> The oauth contrive initializer looks like:
<FromGitter>
<andrewc910> Already encouraging people to use a an env variable.
<FromGitter>
<andrewc910> Someone would have to guide me on the single line inclusion although I do prefer the idea. I really like how devise just does `devise(: authentication, :rememberable)` but haven't gotten around to reading that part of their codebase.
<FromGitter>
<andrewc910> @Blacksmoke16 yeah i was able to figure it out. Funnily enough, it was named the same. One thing though. Does the * in the paramenters convert the args to an array(or iterable collection)? Because i was doing `include_providers([:facebook])` but when i prepend the * in the parameters, i no longer need the `[]` around my arguements
<FromGitter>
<andrewc910> In the authenticated model you do `include_providers(:facebook, :google` ⏎ ⏎ `ACCEPTABLE_PROVIDERS` is a hash of the providers. It looks like `{"google" => Provider::Google}` I need this hash for the main engine to invoke the proper class seen here: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5e1d0403cb2aaa2d78337e42]