prx_auth 1.8.1 → 1.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 076bc119886d252cc587e1e391ba10eaa3b1d24151ba559135c3e40d78565201
4
- data.tar.gz: 40f6695953ad60bb9dcd8aef4e3483434c8274266c83632e4ce3f628e9022c5e
3
+ metadata.gz: eabb6a716e68b05920c7bfa5a8828ef23b81d0e797a7e6c2f46573925b45d1f6
4
+ data.tar.gz: 6a04e773977f315361c8a7b8954a44624cd9c6d76d7e7a7189d8070f9cff2cef
5
5
  SHA512:
6
- metadata.gz: 169c89b6926a03cd9e1599298858e1d22fb5c468d9c3c56ade1b616c4893d87d707092f2704996edb9c18291e8ecf443a92559cb0ed2f30b5152d0abaa3be22a
7
- data.tar.gz: edfb7b2f60fdf23e6d950d4c7ad2cd5efe3be300856ad829ee2724a3a8edf16c2702540185aba0813d151892b941eca9db9d8255eba25cf1b2c790af04c108c6
6
+ metadata.gz: 23fe7b933f7f1ba58f2a594c5867b79f14862bd72818caa5ef086d57e924279e152979765c97083fa699ae3027f46d80204340e48617fad9486b12cdccece9fb
7
+ data.tar.gz: 66b5f283be339e723d617301c33245951ddc3d99f7f83580c51a0d789ca189eb6bd742ce9ed0222723b68c360f8e1b425a42faba129d37323b6d9075469b0234
@@ -1,3 +1,3 @@
1
1
  module PrxAuth
2
- VERSION = "1.8.1"
2
+ VERSION = "1.8.2"
3
3
  end
@@ -25,6 +25,14 @@ module Rack
25
25
  @attributes["sub"]
26
26
  end
27
27
 
28
+ def issued_at
29
+ @attributes["iat"]
30
+ end
31
+
32
+ def expiration_time
33
+ @attributes["exp"]
34
+ end
35
+
28
36
  def authorized?(resource, namespace = nil, scope = nil)
29
37
  @authorized_resources.contains?(resource, namespace, scope)
30
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prx_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eve Asher
8
8
  - Chris Rhoden
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-19 00:00:00.000000000 Z
11
+ date: 2025-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler