authsignal-ruby 1.0.0 → 1.0.1

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: 561440221a5ef9e66e1b0094958c6ea9b74e6299579bdcf3d38882de19f40f9c
4
- data.tar.gz: c364e721d2726a9f59fa3e2fb807bd14e4397c73664a73acd4929edcb693e3fd
3
+ metadata.gz: 0a28bb75e7f376bd32e42089da85e158e837557c0c491e93bc3f3403efb8c49c
4
+ data.tar.gz: 401254646dabee360ca33d7ced34e2b19a6806d908dadc495c3308aabeaed7b9
5
5
  SHA512:
6
- metadata.gz: 0af6f0ee6b672e2694fb3fcb4d26084c160d34a25a279b8ac3e4272d207f63f75bf5f1a9e5a9990921ee853813bc738cc5e53620cf34413088fbb2f9734e6948
7
- data.tar.gz: b069887fc72d20b96ccc369a50749dac540ffebfbf03bf5e104132def1a99cdf78ed7172d0e2f4b6289752ce1db664c77d0548432e44d0203dfd71c37547f0ac
6
+ metadata.gz: b2e8ecf5359161a227b47c86a17f73816b51617a48dc56d60879cecdbd0962245c176700b1f1005080ad68de4b991b194175ad781679f0b373ebb43853c27af3
7
+ data.tar.gz: af15344d7b5d3769e86ac9c0087e1e777d84683f96ff107ebf612dbe39c46147e20f6c9e260bf6977e233d8a5fe20de30cc4eed5038c9659094ad6db7abd7b92
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- authsignal-ruby (1.0.0)
4
+ authsignal-ruby (1.0.1)
5
5
  httparty (~> 0.21.0)
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Authsignal
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
data/lib/authsignal.rb CHANGED
@@ -65,7 +65,7 @@ module Authsignal
65
65
  false
66
66
  end
67
67
 
68
- def validate_challenge(user_id:, token:)
68
+ def validate_challenge(token:, user_id: nil)
69
69
  begin
70
70
  decoded_token = JWT.decode(token, Authsignal.configuration.api_secret_key)[0]
71
71
  rescue JWT::DecodeError
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authsignal-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - justinsoong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-21 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty