Sha256: 2cd07bb22589b9a87621be868a69e5a2fe433930783430c41b854b6a1475d559

Contents?: true

Size: 590 Bytes

Versions: 4

Compression:

Stored size: 590 Bytes

Contents

#!/usr/bin/env ruby

require 'irb'
require 'dotenv'

Dotenv.load

lib = File.expand_path '../../lib', __FILE__
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib

require 'second_step'

SecondStep.config do
  client_id ENV['SECONDSTEP_CLIENT_ID']
  client_secret ENV['SECONDSTEP_CLIENT_SECRET']
  key_path = File.expand_path '../../private.pem', __FILE__
  rsa_key OpenSSL::PKey::RSA.new File.read(key_path), ENV['SECONDSTEP_RSA_PASSPHRASE']
  orm_adapter :memory
  secondstep_aud ENV['SECONDSTEP_AUD']
  application_id ENV['SECONDSTEP_APPLICATION_ID']
end

SecondStep.config

IRB.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
second_step-0.2.0 bin/console
second_step-0.1.4 bin/console
second_step-0.1.3 bin/console
second_step-0.1.2 bin/console