Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Events API Authorization #438

@alexdebrie

Description

@alexdebrie

Users may want to require authorization from a producing client that is emitting into their Event Gateway. This is particularly necessary for asynchronous subscriptions, as the subscribed consumers are decoupled from the producer and thus cannot make demands on the authorization necessary.

For this issue, we'll allow users to set authorization mechanisms on Event Types. When a producing client emits an Event, it will first check to see if the emitted Event has the needed authorization. If yes, it will continue and the producing client will receive a 202 Accepted. If not, the producing client will receive a 401 Unauthorized.

As a part of this issue following PR were created:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions