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 +4 -4
- data/.gitignore +1 -0
- data/README.md +3 -0
- data/auth0_machine_to_machine.gemspec +18 -0
- data/lib/auth0_machine_to_machine.rb +1 -2
- data/lib/auth0_machine_to_machine/version.rb +3 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69b609dc2d6334c2b8fd25d52b440ff9a79884c05824daf9b6232d661b050e84
|
4
|
+
data.tar.gz: c0443171bbfdc9a0b43b5a5ee92116aaaa3a7a24c3a83e17bb09ef90cc0d5010
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9755d2276543e7fd2d5a7e6a3873396c045fe6617050e200ecaaf72aecc25b9f1c8fb9bdea0298110e4a1ddc4690fb2aaf334474ad398531ef814c6375f787cc
|
7
|
+
data.tar.gz: 653a74f41aba97d47d072943c67b7c541fbf97a8541f5421b1abbd9aae3abf295492b0e13a563c1dd181e4a582f05fce2c8494e5583c3c43628db533c65ecb81
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*.gem
|
data/README.md
ADDED
@@ -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
|
|
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.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- playfulcorgi
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
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
|