feature: authentication middlewares #20

Merged
xdrm-brackets merged 3 commits from feature/expose-scope into 0.3.0 2021-05-18 13:57:57 +00:00

Add authentication middlewares with access to api.Auth which automatically denies requests when not fulfilled.

  • middlewares have to fill the api.Auth.Active list of the user's active permissions.
  • if they match the "scope" provided in the api manifest, the request will continue ; else it will be discarded.
Add authentication middlewares with access to api.Auth which automatically denies requests when not fulfilled. - middlewares have to fill the `api.Auth.Active` list of the user's active permissions. - if they match the "scope" provided in the api manifest, the request will continue ; else it will be discarded.
xdrm-brackets merged commit 214e2348aa into 0.3.0 2021-05-18 13:57:57 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: go/aicra#20
No description provided.