module Easy::Configuration::Auth
Public Class Methods
allow_anonymous_readonly_api?()
click to toggle source
# File lib/easy/configuration/auth.rb, line 34 def allow_anonymous_readonly_api? !!self.allow_anonymous_readonly_api end
no_password_auth?()
click to toggle source
# File lib/easy/configuration/auth.rb, line 26 def no_password_auth? !!self.no_password_auth end
omniauth_providers()
click to toggle source
# File lib/easy/configuration/auth.rb, line 42 def omniauth_providers Rails.application.secrets.omniauth_providers || {} end
omniauth_providers_keys()
click to toggle source
# File lib/easy/configuration/auth.rb, line 46 def omniauth_providers_keys omniauth_providers.keys end
only_omniauth?()
click to toggle source
# File lib/easy/configuration/auth.rb, line 38 def only_omniauth? !!self.only_omniauth end
required?()
click to toggle source
# File lib/easy/configuration/auth.rb, line 22 def required? !!self.required end
token_auth?()
click to toggle source
# File lib/easy/configuration/auth.rb, line 30 def token_auth? !!self.token_auth end