-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth2 support #3790
Draft
barmintor
wants to merge
8
commits into
ProjectMirador:master
Choose a base branch
from
cul:issue-3789_auth2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Auth2 support #3790
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
barmintor
force-pushed
the
issue-3789_auth2
branch
3 times, most recently
from
October 3, 2023 18:47
61326f2
to
2221286
Compare
…ne iiif images - jest specs for image service identification - jest specs for resource type filters - ProjectMirador#3789
- IIIF Auth2 services will be members of a probe service - ProjectMirador#3789
…3789) - DRY search routines into functions defined in getServices - all routines should look for Auth2 types and Auth1 profiles - include search for uncoducmented Auth1 implementation of explicit probe service
- correct a spec name in accessTokens.test.js - stop refetching accessTokens if state has an ok true/false attribute - ProjectMirador#3789
- src/state/sagas/auth.js - src/state/sagas/iiif.js - src/state/sagas/windows.js - src/state/selectors/auth.js - src/state/selectors/canvases.js
barmintor
force-pushed
the
issue-3789_auth2
branch
from
October 25, 2023 21:59
a6f2308
to
0231d8e
Compare
cbeer
reviewed
Nov 22, 2023
Comment on lines
+1
to
+27
/** values for type/@type that indicate an image content resource */ | ||
const imageTypes = ['Image', 'StillImage', 'dctypes:Image', 'dctypes:StillImage']; | ||
Object.freeze(imageTypes); | ||
|
||
/** values for type/@type that indicate a sound content resource */ | ||
const audioTypes = ['Audio', 'Sound', 'dctypes:Audio', 'dctypes:Sound']; | ||
Object.freeze(audioTypes); | ||
|
||
/** values for type/@type that indicate a text content resource */ | ||
const textTypes = ['Document', 'Text', 'dctypes:Document', 'dctypes:Text']; | ||
Object.freeze(textTypes); | ||
|
||
/** values for type/@type that indicate a video content resource */ | ||
const videoTypes = ['Video', 'MovingImage', 'dctypes:Video', 'dctypes:MovingImage']; | ||
Object.freeze(videoTypes); | ||
|
||
/** values for profile that indicate an image service */ | ||
const imageServiceProfiles = [ | ||
'level2', | ||
'level1', | ||
'level0', | ||
'http://iiif.io/api/image/2/level2.json', | ||
'http://iiif.io/api/image/2/level1.json', | ||
'http://iiif.io/api/image/2/level0.json', | ||
]; | ||
|
||
Object.freeze(imageServiceProfiles); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if these could/should go into settings somewhere so downstream apps can customize them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something similar to auth.serviceProfiles
maybe?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
cf #3789