auth0_machine_to_machine 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c55cadc74f86a709b76b455d3f6de4169d180821ed90ac3a9c43f1e982cff391
4
- data.tar.gz: '013832d828d0a9a93b7d2691f50adb465164ed4cbf2114a21cf1a0d0644aa652'
3
+ metadata.gz: 69b609dc2d6334c2b8fd25d52b440ff9a79884c05824daf9b6232d661b050e84
4
+ data.tar.gz: c0443171bbfdc9a0b43b5a5ee92116aaaa3a7a24c3a83e17bb09ef90cc0d5010
5
5
  SHA512:
6
- metadata.gz: 66aa16c2689e7d5d4507a84d00b8648ace12ce2bdef562597a86a38071b3498e1f2226e755a45b341e5590d0125ea9788df5a70a21122e788e5f6577f8302874
7
- data.tar.gz: 3a3f305362afd9fe47332e77772704e3b1ef8cb12848d08525182d64c83ded8dca473bba4b579e4c7879f9f40ea45ed496b01affd6ad6a21a19008254606db48
6
+ metadata.gz: 9755d2276543e7fd2d5a7e6a3873396c045fe6617050e200ecaaf72aecc25b9f1c8fb9bdea0298110e4a1ddc4690fb2aaf334474ad398531ef814c6375f787cc
7
+ data.tar.gz: 653a74f41aba97d47d072943c67b7c541fbf97a8541f5421b1abbd9aae3abf295492b0e13a563c1dd181e4a582f05fce2c8494e5583c3c43628db533c65ecb81
@@ -0,0 +1 @@
1
+ *.gem
@@ -0,0 +1,3 @@
1
+ # Ruby Auth0 Bearer Token Machine To Machine
2
+
3
+ Retrieves JWT bearer token from Auth0 for authenticating and authorizing requests.
@@ -0,0 +1,18 @@
1
+ require_relative 'lib/auth0_machine_to_machine/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "auth0_machine_to_machine"
5
+ spec.version = Auth0MachineToMachine::VERSION
6
+ spec.authors = ["playfulcorgi"]
7
+ spec.email = ["unrulybeardedweekend@gmail.com"]
8
+ spec.homepage = "https://github.com/playfulcorgi/auth0_machine_to_machine"
9
+ spec.license = "MIT"
10
+ spec.summary = "Retrieves JWT bearer token from Auth0 for authenticating and authorizing requests."
11
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
12
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
13
+ end
14
+ spec.bindir = "exe"
15
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
16
+ spec.require_paths = ["lib"]
17
+ spec.required_ruby_version = ">= 2.5.0"
18
+ end
@@ -1,13 +1,12 @@
1
1
  # Based on https://auth0.com/docs/quickstart/backend/rails/02-using.
2
2
 
3
+ require 'auth0_machine_to_machine/version'
3
4
  require 'uri'
4
5
  require 'net/http'
5
6
  require 'openssl'
6
7
  require 'json'
7
8
  require 'date'
8
9
 
9
-
10
-
11
10
  module Auth0MachineToMachine
12
11
  class Auth0BearerTokenError < StandardError; end
13
12
 
@@ -0,0 +1,3 @@
1
+ module Auth0MachineToMachine
2
+ VERSION = "0.1.2"
3
+ end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auth0_machine_to_machine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - playfulcorgi
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2020-03-15 00:00:00.000000000 Z
12
12
  dependencies: []
@@ -17,7 +17,11 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - ".gitignore"
21
+ - README.md
22
+ - auth0_machine_to_machine.gemspec
20
23
  - lib/auth0_machine_to_machine.rb
24
+ - lib/auth0_machine_to_machine/version.rb
21
25
  homepage: https://github.com/playfulcorgi/auth0_machine_to_machine
22
26
  licenses:
23
27
  - MIT