Sha256: 930ccb47599e995eec2aaee57006afd38fd6180f36194bf78ae34b4dd085eaad

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

module Credentials
  module_function

  def v1_creds
    { client_id: ENV['CLIENT_ID'],
      client_secret: ENV['CLIENT_SECRET'],
      domain: ENV['DOMAIN'],
      api_version: 1 }
  end

  def v1_global_creds
    { client_id: ENV['GLOBAL_CLIENT_ID'],
      client_secret: ENV['GLOBAL_CLIENT_SECRET'],
      domain: ENV['DOMAIN'],
      api_version: 1 }
  end

  def v2_creds
    { client_id: ENV['CLIENT_ID'],
      token: ENV['MASTER_JWT'],
      domain: ENV['DOMAIN'] }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth0-4.5.0 spec/support/credentials.rb
auth0-4.4.0 spec/support/credentials.rb