keratin-authn 0.1.0 → 0.1.1
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 +4 -4
- data/README.md +2 -0
- data/lib/keratin/authn/engine.rb +2 -2
- data/lib/keratin/authn/test/helpers.rb +1 -0
- data/lib/keratin/authn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42fc6f727891054b77a0e1b4e456d3f436206de8
|
|
4
|
+
data.tar.gz: d890d883753d1a44ddaaf868c9ca0f6a1445cfcf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec8ecab45a116040c1163032d8b5bd01e2815e6391fcddfb9ad0b3463025f17c1820eee498d3f6a4a5c00f9aacc6218dd209768272f692c1e28791eb865cdc73
|
|
7
|
+
data.tar.gz: 8bf4b09aa819d05f7cdf42aa124c09fa94f1825b55803d334d8abd673ed3318563f96d7c2990e98870be0315696519c14bba39459835ed60e9d2e76a3ba98635
|
data/README.md
CHANGED
|
@@ -4,6 +4,8 @@ Keratin AuthN is an authentication service that keeps you in control of the expe
|
|
|
4
4
|
|
|
5
5
|
This gem provides utilities to help integrate with a Ruby application. You may also be interested in keratin/authn-js for frontend integration.
|
|
6
6
|
|
|
7
|
+
[](http://badge.fury.io/rb/keratin-authn) [](https://travis-ci.org/keratin/authn-rb)
|
|
8
|
+
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
9
11
|
Add this line to your application's Gemfile:
|
data/lib/keratin/authn/engine.rb
CHANGED
|
@@ -25,6 +25,7 @@ module Keratin::AuthN
|
|
|
25
25
|
|
|
26
26
|
# stubs the endpoints necessary to validate a signed JWT
|
|
27
27
|
private def stub_auth_server
|
|
28
|
+
Keratin::AuthN.keychain.clear
|
|
28
29
|
stub_request(:get, "#{Keratin::AuthN.config.issuer}#{Keratin::AuthN.config.configuration_path}").to_return(
|
|
29
30
|
status: 200,
|
|
30
31
|
body: {'jwks_uri' => "#{Keratin::AuthN.config.issuer}/jwks"}.to_json
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: keratin-authn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lance Ivy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json-jwt
|