Skip to content

mature AEM utils #1

Description

@davidbenge

Mature AEM Utils Helper Class

The current AEM utils are a loosely structured set of helper methods within a utility class. As we continue to expand support for both AEM HTTP APIs and AEM Open APIs—which have significantly different authentication and interaction patterns—it would be beneficial to formalize this into a TypeScript-based class structure.

Proposal:
• Create a strongly typed AemApiHelper class that encapsulates both HTTP and Open API interactions.
• Introduce a unified initialization method that accepts a multi-auth config (e.g., S2S, JWT, or user-based auth).
• Each API call should validate that the appropriate authentication method has been initialized, and throw a clear error if not.
• For calls that support multiple auth types, allow the caller to optionally specify which one to use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions