2019-05-03 06:17:27 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-08-26 09:04:16 +08:00
|
|
|
module Auth
|
2024-06-27 08:27:49 +08:00
|
|
|
LOGIN_METHOD_OAUTH = "oauth"
|
|
|
|
LOGIN_METHOD_LOCAL = "local"
|
2013-08-26 09:04:16 +08:00
|
|
|
end
|
|
|
|
|
2019-10-02 12:01:53 +08:00
|
|
|
require "auth/auth_provider"
|
|
|
|
require "auth/result"
|
|
|
|
require "auth/authenticator"
|
|
|
|
require "auth/managed_authenticator"
|
|
|
|
require "auth/facebook_authenticator"
|
|
|
|
require "auth/github_authenticator"
|
|
|
|
require "auth/twitter_authenticator"
|
2024-04-19 18:47:30 +08:00
|
|
|
require "auth/linkedin_oidc_authenticator"
|
2019-10-02 12:01:53 +08:00
|
|
|
require "auth/google_oauth2_authenticator"
|
|
|
|
require "auth/discord_authenticator"
|