Class: OktaAuthProxy::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/okta-auth-proxy/cli.rb

Instance Method Summary collapse

Instance Method Details

#serve(port: nil, threads: nil, bind: nil, debug: nil) ⇒ Object



11
12
13
14
# File 'lib/okta-auth-proxy/cli.rb', line 11

def serve(port: nil, threads: nil, bind: nil, debug: nil)
  opts = options.deep_symbolize_keys
  OktaAuthProxy::ProxyServer.new(**opts).run
end