Skip to content

Permit properties currently in endpoints to within the Actor itself #291

@cjslep

Description

@cjslep

The endpoints property is currently an ActivityStreams Object with a grab-bag of custom properties pertinent to a specific Actor. However, the specification does not permit these properties to be directly populated directly on the Actor. The properties are:

  • proxyUrl
  • oauthAuthorizationEndpoint
  • oauthTokenEndpoint
  • provideClientKey
  • signClientKey
  • sharedInbox

Since all are URI values, there should be no data-readability issue with populating them directly on an actor. Furthermore, since this endpoint Object is not required to reference the actor it pertains to it alone has no semantic meaning and implementations must process it with a larger context.

It is a case of Accidental Complexity within the specification: the alternate is to just give an implementation the Actor with the above properties populated. Currently, implementations must be given an Actor for context and the resolved endpoints URI object and incur the extra HTTPS call to do the resolution.

Once both are permitted, I would like to consider deprecating endpoints as a property of the Actor and favor directly setting the properties on the Actor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions