* Add Authentication providers * Making strides on refactoring * New usr from Twitter * Existing Twitter user * Existing user Github * Test skip_confirmation! * Refactor a bit and add simplecov groups * Test user already logged in * Rename to Authentication::Authenticator * Refactor to a common class * Add existing user test for twitter login * Refactor global handler * Fix spec and comment Twitter provider * Update comments and strategy TODO * Move providers loading code to Authentication::Providers * add SubclassResponsibility error * Use delegation
9 lines
132 B
Ruby
9 lines
132 B
Ruby
module Authentication
|
|
module Errors
|
|
class Error < StandardError
|
|
end
|
|
|
|
class ProviderNotFound < Error
|
|
end
|
|
end
|
|
end
|