openid_connect 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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 167220b01dee03cb231711362435fc72536ab3b5
|
4
|
+
data.tar.gz: fc3a10ebc6cbb7168d5351f1f6d1b89edbcdb593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63513942cb1bceff0e91b45a3351dbaef4360d3b22d9a8a59b04c351e3b43ac49749064052a79d5d089bea6132fca4ee01559935152da48517bb1fdaa2fb3504
|
7
|
+
data.tar.gz: 3dcba028b7e7dca263d54b51015a8407bde81b80e9f1f8bbda1f85014ff144f9b3a17ee72b409094d157de77db684c7ad6b63ba4d6dc52e1331115339104e081
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
@@ -20,6 +20,19 @@ describe OpenIDConnect::ResponseObject::IdToken do
|
|
20
20
|
subject { klass }
|
21
21
|
its(:required_attributes) { should == [:iss, :sub, :aud, :exp, :iat] }
|
22
22
|
its(:optional_attributes) { should == [:acr, :auth_time, :nonce, :sub_jwk, :at_hash, :c_hash] }
|
23
|
+
|
24
|
+
describe 'auth_time' do
|
25
|
+
subject { id_token.auth_time }
|
26
|
+
|
27
|
+
context 'when Time object given' do
|
28
|
+
let(:attributes) do
|
29
|
+
required_attributes.merge(auth_time: Time.now)
|
30
|
+
end
|
31
|
+
it do
|
32
|
+
should be_instance_of Integer
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
23
36
|
end
|
24
37
|
|
25
38
|
describe '#verify!' do
|