mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
DEV: Deprecate OAuth2Authenticator and OAuth2UserInfo (#15427)
These have been superseded by ManagedAuthenticator and UserAssociatedAccount. For more information, see https://meta.discourse.org/t/106695
This commit is contained in:
@ -8,6 +8,7 @@ class Auth::OAuth2Authenticator < Auth::Authenticator
|
||||
|
||||
# only option at the moment is :trusted
|
||||
def initialize(name, opts = {})
|
||||
Discourse.deprecate("OAuth2Authenticator is deprecated. Use `ManagedAuthenticator` and `UserAssociatedAccount` instead. For more information, see https://meta.discourse.org/t/106695", drop_from: '2.9.0', output_in_test: true)
|
||||
@name = name
|
||||
@opts = opts
|
||||
end
|
||||
|
Reference in New Issue
Block a user