Draft: Provide custom Session wrapper with default token_scope
This MR introduces a new gwdatafind.Session
object as a thin wrapper around igwn_auth_utils.Session
with the token_scope
defaulting to 'gwdatafind.read'
.
This MR then updates the underlying get()
calls in gwdatafind.ui
to use the new Session wrapper, which, when combined with requiring igwn-auth-utils-1.0.0
, simplifies the request handling (all of the work is now done by igwn-auth-utils
.
Merge request reports
Activity
changed milestone to %GWDataFind Client 1.2.0
added apiminor label
assigned to @duncanmmacleod
added 4 commits
-
a3924788...16b8cb9c - 2 commits from branch
computing/gwdatafind:main
- 7e8b66f2 - requests: new thin wrapper around Session
- c0165ed8 - ui: use new Session wrapper in UI calls
-
a3924788...16b8cb9c - 2 commits from branch
added 4 commits
-
c0165ed8...913c4242 - 2 commits from branch
computing/gwdatafind:main
- b760b81b - requests: new thin wrapper around Session
- 79ab4394 - ui: use new Session wrapper in UI calls
-
c0165ed8...913c4242 - 2 commits from branch
added 15 commits
-
79ab4394...11078ff9 - 13 commits from branch
computing/gwdatafind:main
- 6c93a0f0 - requests: new thin wrapper around Session
- 7770059a - ui: use new Session wrapper in UI calls
-
79ab4394...11078ff9 - 13 commits from branch
requested review from @duncan.meacher
changed milestone to %GWDataFind Client 1.3.0
added 22 commits
-
7770059a...1a16fa03 - 20 commits from branch
computing/gwdatafind:main
- a3a1fc47 - requests: new thin wrapper around Session
- 1d0ab861 - ui: use new Session wrapper in UI calls
-
7770059a...1a16fa03 - 20 commits from branch
added 19 commits
-
1d0ab861...a63f92fe - 17 commits from branch
computing/gwdatafind:main
- 2ff814a8 - requests: new thin wrapper around Session
- 85fe5314 - ui: use new Session wrapper in UI calls
-
1d0ab861...a63f92fe - 17 commits from branch
added 4 commits
-
85fe5314...cbadc54c - 2 commits from branch
computing/gwdatafind:main
- 81c11b8f - requests: new thin wrapper around Session
- 2624fb2e - ui: use new Session wrapper in UI calls
-
85fe5314...cbadc54c - 2 commits from branch
Please register or sign in to reply