Class AuthorizationFlowTools

java.lang.Object
io.goobi.viewer.api.rest.v2.auth.AuthorizationFlowTools

public final class AuthorizationFlowTools extends Object
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 Details

  • Method Details

    • getAuthServices

      public static List<de.intranda.api.services.Service> getAuthServices(String pi, String fileName)
      Wrapper method.
      Parameters:
      pi - persistent identifier of the record
      fileName - file name of the resource to protect
      Returns:
      List
    • getAuthServices

      public static List<de.intranda.api.services.Service> getAuthServices(String path)
    • getAuthServicesRecord

      public static List<de.intranda.api.services.Service> getAuthServicesRecord(String pi, String privilege)
    • getAuthServicesStructure

      public static List<de.intranda.api.services.Service> getAuthServicesStructure(String pi, String logId, String privilege)