Class: SimplyGenius::Atmos::Providers::None::AuthManager
- Inherits:
-
Object
- Object
- SimplyGenius::Atmos::Providers::None::AuthManager
- Includes:
- GemLogger::LoggerSupport
- Defined in:
- lib/simplygenius/atmos/providers/none/auth_manager.rb
Instance Method Summary collapse
- #authenticate(system_env, **opts, &block) ⇒ Object
-
#initialize(provider) ⇒ AuthManager
constructor
A new instance of AuthManager.
Constructor Details
#initialize(provider) ⇒ AuthManager
Returns a new instance of AuthManager.
11 12 13 |
# File 'lib/simplygenius/atmos/providers/none/auth_manager.rb', line 11 def initialize(provider) @provider = provider end |
Instance Method Details
#authenticate(system_env, **opts, &block) ⇒ Object
15 16 17 18 |
# File 'lib/simplygenius/atmos/providers/none/auth_manager.rb', line 15 def authenticate(system_env, **opts, &block) logger.debug("Calling none authentication target") block.call(system_env) end |