client_authentication 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/client_authentication.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 59e86042b807f2ded186642d0e738dca8db79136
|
|
4
|
+
data.tar.gz: 38b7b0c4029b1afde0c95003532575bf5b1180a6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55941d30144b4850070506609e0b51774daafe44134b2e40f9b563cc744a3a0c9f382d53e99fadb9b3febcdfe4981fd6e1bb03efe91c9672db371d03d4c9c522
|
|
7
|
+
data.tar.gz: cb87b94695d15032296c37aa882b3138cae292956b0116fcb5e1f2902f448cb4492b3adcb65354c67e8317ca1f419b0d763035872a1d97a44b8e65876fc47631
|
|
@@ -2,10 +2,11 @@ class ClientAuthentication
|
|
|
2
2
|
attr_accessor :header_keys
|
|
3
3
|
|
|
4
4
|
# model must respond to :key and :secret
|
|
5
|
-
def initialize(headers, max_seconds = 5, model = Application)
|
|
5
|
+
def initialize(headers, max_seconds = 5, model = Application, logger=nil)
|
|
6
6
|
@headers = headers
|
|
7
7
|
@max_seconds = max_seconds
|
|
8
8
|
@model = model
|
|
9
|
+
@logger = logger
|
|
9
10
|
|
|
10
11
|
@header_keys = {
|
|
11
12
|
time: "X-Level3-Digest-Time",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: client_authentication
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oz DiGennaro
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2019-01-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Use three header fields and a shared secret
|
|
15
15
|
email: oz.digennaro@centurylink.com
|
|
@@ -38,7 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
38
38
|
version: '0'
|
|
39
39
|
requirements: []
|
|
40
40
|
rubyforge_project:
|
|
41
|
-
rubygems_version: 2.
|
|
41
|
+
rubygems_version: 2.6.8
|
|
42
42
|
signing_key:
|
|
43
43
|
specification_version: 4
|
|
44
44
|
summary: Authenticate client at server
|