docbrown/app/services/authentication
Kirk Haines ed74f2f245
Abstract DatadogStatsClient to ForemStatsClient (#12304)
* This change abstracts the DatadogStatsClient into a ForemStatsClient.
The purpose of this abstraction is to set the foundation for a subsequent PR that will allow one to use New Relic for recording Forem stats, instead of Datadog, if there is a New Relic configuration found.
This specific change creates an abstraction layer that can be built upon, without changing any actual default behavior. All specs still pass.

* Use delegate instead of explicit methods.

* Delegate instead of explicit methods.

* Fix the error.

* Refactor according to the suggestions in the comments.

* Ooops.  Stats work better when all of the code is committed.

* Removing the alias of count to increment since that was done in error.
2021-01-27 11:25:44 -05:00
..
providers Fix failure on blank image URLs passed from oauth (#12390) 2021-01-27 09:34:19 +01:00
authenticator.rb Abstract DatadogStatsClient to ForemStatsClient (#12304) 2021-01-27 11:25:44 -05:00
errors.rb [deploy] Authentication refactoring: add available and enabled providers (#7505) 2020-04-28 16:16:28 +02:00
paths.rb Rubocop: address feedback of #9430 and use kwargs (#9538) 2020-07-29 11:13:36 +02:00
providers.rb Allow Forem admins to enable an invite only mode. (#10758) 2020-10-12 11:27:22 -04:00