hanami-authentication 0.3.0 → 0.3.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
  SHA1:
3
- metadata.gz: d2a31214eb2008661d6f5e2c152cfc7e8615597d
4
- data.tar.gz: c8a3bffaf2da59cb1c09db861f7b868cc2e44d39
3
+ metadata.gz: e0c885b1d8fe00c9bcd2593129f493ec72e52de8
4
+ data.tar.gz: 382c3e490a408e2786bd20aad21d81e57fd7cd0a
5
5
  SHA512:
6
- metadata.gz: e3ae35f3e5640d99b3ffc54c081a693f8a8087159395560213848a6270738da7af2d19da110eb536f8c90e4637c760078fc2eee2e8c3ccb9ee3655c2f2bb9c7d
7
- data.tar.gz: 12a9a048158e62ca9ccb29322846b7b6f0bf24d91d43bf6317ae55803760d6ab182153722527067924b62f2b417e81cf106d9c6d201cdb2dc80900136e5e307a
6
+ metadata.gz: 8d896b994203fb85fe54cf925b89df3e6558d82260291b1cb30f6fc5169c5d8e38c11324578d88ac264320c1db0e1872c51adfd16b64d0928d888ef36a393194
7
+ data.tar.gz: b043c4754c43dce9a476051822da58dc915493f4a2fcf09a93b114c3c56c47f0126ec577510ed195dca39e5fa6eb187a0265ecf82d8ecfe6a971df49ceb78ef6
@@ -15,7 +15,7 @@ module Hanami
15
15
  @current_user
16
16
  end
17
17
 
18
- def authenticate
18
+ def authenticate(params)
19
19
  bearer_token = token_from_header
20
20
  halt 401 unless bearer_token
21
21
  token = self.class.find_token_block.call(bearer_token)
@@ -1,5 +1,5 @@
1
1
  module Hanami
2
2
  module Authentication
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LegalForce Inc.