client_authentication 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/lib/client_authentication.rb +2 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 3aac3abef2f0b49c5441343ae0bb8f19b815ac7330a8ac57681c3e1a28c19cef
4
- data.tar.gz: e9047392ef85b780afc1eac7ca163d02c174f943bb17e260851b2a37f83a5749
2
+ SHA1:
3
+ metadata.gz: 59e86042b807f2ded186642d0e738dca8db79136
4
+ data.tar.gz: 38b7b0c4029b1afde0c95003532575bf5b1180a6
5
5
  SHA512:
6
- metadata.gz: 7510e8949a5b7a91659da7b9b59dc6e9fa68705021b6f9037bf44b098f4817ed8879ddcc5cf07900017702427354a55564581894734ec3a494bac84123a92658
7
- data.tar.gz: 7c644e7e2be90864aabcc323f017a9b222bb2615492a2768a2e9248652023578e499f36354c534c0d5835fead2d36297a6a502ce12f4051a7e1118ea3c5d9d6a
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.2
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: 2018-05-24 00:00:00.000000000 Z
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.7.3
41
+ rubygems_version: 2.6.8
42
42
  signing_key:
43
43
  specification_version: 4
44
44
  summary: Authenticate client at server