Class: SimplyGenius::Atmos::Providers::None::AuthManager

Inherits:
Object
  • Object
show all
Includes:
GemLogger::LoggerSupport
Defined in:
lib/simplygenius/atmos/providers/none/auth_manager.rb

Instance Method Summary collapse

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