strongmind-auth 1.1.67 → 1.1.70
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/strongmind/auth/version.rb +1 -1
- data/lib/strongmind/common_nav_fetcher.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62f26f042ed3981f261550a4d15685cb83d63c6f6140fe7ecfa232f4cb2594e1
|
4
|
+
data.tar.gz: f81421faeedb5e7fa3bf2f32336c18641cc40d65795f5d480f978d3bc38eacbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17c6adf570d424c3a26ea007fce2373207c0992ce738107ce9b38ad0e094ff7e036d84e5484f24e5b8dfb415d33a9d7b1b6e8c5602b263919c8339dff691694e
|
7
|
+
data.tar.gz: '0310901e9e6618ca6ccb356d637a68231da2e321f92dac35d88994fab6123ed2299cdec7c2be7bedfd0145c48294aa11e032cb432a2d248f950a232c894208fc'
|
@@ -76,7 +76,7 @@ module Strongmind
|
|
76
76
|
def refresh_session
|
77
77
|
session = Rails.cache.fetch(user.uid)
|
78
78
|
auth_client.refresh_session(session:)
|
79
|
-
Rails.cache.write(user.uid, session)
|
79
|
+
Rails.cache.write(user.uid, session, expires_in: session[:expires_in].to_i.seconds - 10.minutes)
|
80
80
|
rescue PlatformSdk::Identity::ClientError => e
|
81
81
|
handle_refresh_error(e)
|
82
82
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongmind-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.70
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Team Belding
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|