Skip to content

classes vs class #26

Open
Open

Description

@dickhardt

It does not add much complexity for the AP to provide a classes claim with a list of classes rather than a single class.

When asking for a grant at a PS -- the agent would select which class it wants the permission for. Currently, specifying the class is redundant as there is only one class in the agent token so the agent is including a string that can only have one value (or "*")

Activity

  1. dickhardt commented on May 11, 2026

    @dickhardt
    OwnerAuthor

    this goes away with the class tokens -- as the agent gets a class token for each class it belongs to, and shares the class it wants to get authorization for

  2. added
    question
    on Jun 8, 2026
  3. dickhardt commented on Jun 8, 2026

    @dickhardt
    OwnerAuthor

    Open question — this is the singular-vs-plural fork for #22. A classes list lets one agent token carry several classes and select which when requesting a grant (removing today's redundancy where class can only be the one value or *); a single class string keeps the wire format minimal. Tied to #22 and the breadth concern in #25 — deciding the three together.

  4. added
    protocol
    on Aug 7, 2026
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

    protocolquestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions