rodauth-oauth 0.4.1 → 0.4.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/CHANGELOG.md +6 -0
- data/lib/rodauth/features/oauth.rb +5 -0
- data/lib/rodauth/oauth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 38ad6d8c4d03dac86f78e9c883f11426d805f77f82248098192ed4696a9f20e8
|
|
4
|
+
data.tar.gz: 07d4a10bae7e031033f0660347022e42139adb7be8834daaba307f1530838ce0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6331ba7a98a83f27d5ab3accb21dcf0676d43b21b76b98bf2349b688eeec5eaa1842e3c7e340cbc8a4109f40186ddabfc9d6daf679860b6438f1bb0520c6b383
|
|
7
|
+
data.tar.gz: 3b3b5f1c512a55fbcd6308cebf1e638bc9fe0a1e720f2acbde3b2cf52ca76431e668f74ae7070bb1f031c9e5b63fa307deab4b525c033caa00aa898d8505bb34
|
data/CHANGELOG.md
CHANGED
|
@@ -543,6 +543,11 @@ module Rodauth
|
|
|
543
543
|
|
|
544
544
|
def post_configure
|
|
545
545
|
super
|
|
546
|
+
|
|
547
|
+
# all of the extensions below involve DB changes. Resource server mode doesn't use
|
|
548
|
+
# database functions for OAuth though.
|
|
549
|
+
return unless is_authorization_server?
|
|
550
|
+
|
|
546
551
|
self.class.__send__(:include, Rodauth::OAuth::ExtendDatabase(db))
|
|
547
552
|
|
|
548
553
|
# Check whether we can reutilize db entries for the same account / application pair
|