Package io.goobi.viewer.api.rest.v2.auth
Class AuthorizationFlowTools
java.lang.Object
io.goobi.viewer.api.rest.v2.auth.AuthorizationFlowTools
Utility class for building IIIF Authorization Flow v2 service descriptions. Assembles
probe, access, token, and logout service objects for protected resources and attaches
them to IIIF manifests or content resources.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic List<de.intranda.api.services.Service> getAuthServices(String path) static List<de.intranda.api.services.Service> getAuthServices(String pi, String fileName) Wrapper method.static List<de.intranda.api.services.Service> getAuthServicesRecord(String pi, String privilege) static List<de.intranda.api.services.Service> getAuthServicesStructure(String pi, String logId, String privilege)
-
Field Details
-
PATH_PROBE
- See Also:
-
-
Method Details
-
getAuthServices
Wrapper method.- Parameters:
pi- persistent identifier of the recordfileName- file name of the resource to protect- Returns:
- List
-
getAuthServices
-
getAuthServicesRecord
-
getAuthServicesStructure
-