Class: Teems::Commands::Auth
- Includes:
- AuthStatus, AuthTokenInput
- Defined in:
- lib/teems/commands/auth.rb
Overview
Manages authentication with Microsoft Teams
Constant Summary collapse
- AUTH_OPTIONS =
{ '--certauth' => ->(opts, _args) { opts[:certauth] = true } }.freeze
Instance Attribute Summary
Attributes inherited from Base
#options, #positional_args, #runner
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(args, runner:) ⇒ Auth
constructor
A new instance of Auth.
Methods included from AuthTokenInput
Constructor Details
#initialize(args, runner:) ⇒ Auth
Returns a new instance of Auth.
177 178 179 180 |
# File 'lib/teems/commands/auth.rb', line 177 def initialize(args, runner:) @options = {} super end |
Instance Method Details
#execute ⇒ Object
182 183 184 185 186 187 |
# File 'lib/teems/commands/auth.rb', line 182 def execute result = return result if result dispatch_action(positional_args.first) end |