openid_connect_client 0.1.1 → 0.1.2
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 -2
- data/lib/openid_connect_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb7797f3342867039e58ae9dbafb735004efb6cc
|
|
4
|
+
data.tar.gz: aaf5513726aa980a07e58de22c9f4708c0ef5b1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b8cf662fbb5ba63b838a1b8f5cbd477db415f769f0a9e86c6f8e1c486e91f6e8185a1cfa2ded4abb5b1f08d649db5d75cff64cd27019c56c6ea47ec5cae646bd
|
|
7
|
+
data.tar.gz: 5d90e7731012bc7196363d57a67cd3ebc83f7f5c3c7005e086d3251f3d259945b5bf8e273ea21ec16b39e67de247c8f469c702437b4cdcad7cd8ad77882d89b0
|
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ A literal, not so idiomatic ruby port of Michael Jett's excellent [OpenID Connec
|
|
|
8
8
|
## Usage
|
|
9
9
|
See `example.rb`
|
|
10
10
|
```
|
|
11
|
-
oidc = OpenIDConnectClient.new('https://provider.com/openid', 'CLIENT_ID', 'SECRET')
|
|
11
|
+
oidc = OpenIDConnectClient::Client.new('https://provider.com/openid', 'CLIENT_ID', 'SECRET')
|
|
12
12
|
oidc.redirect_url = "http://yourweb.com/callback"
|
|
13
13
|
oidc.scopes = "openid email profile address phone"
|
|
14
14
|
|
|
@@ -20,7 +20,7 @@ redirect_to(oidc.auth_endpoint)
|
|
|
20
20
|
|
|
21
21
|
### On the callback
|
|
22
22
|
```
|
|
23
|
-
oidc = OpenIDConnectClient.new('https://provider.com/openid', 'CLIENT_ID', 'SECRET')
|
|
23
|
+
oidc = OpenIDConnectClient::Client.new('https://provider.com/openid', 'CLIENT_ID', 'SECRET')
|
|
24
24
|
oidc.redirect_url = "http://yourweb.com/callback"
|
|
25
25
|
oidc.scopes = "openid email profile address phone"
|
|
26
26
|
|