Skip to content

NOISSUE - Add pre authorization inteceptor for packet formatting#88

Merged
dborovcanin merged 3 commits intoabsmach:mainfrom
felixgateru:noissue-intercept
Apr 21, 2025
Merged

NOISSUE - Add pre authorization inteceptor for packet formatting#88
dborovcanin merged 3 commits intoabsmach:mainfrom
felixgateru:noissue-intercept

Conversation

@felixgateru
Copy link
Copy Markdown
Contributor

What does this do?

This pr adds an inteceptor before authorization to allow for packet formatting.

Which issue(s) does this PR fix/relate to?

No issue

List any changes that modify/break current functionality

  • Updates to stream to add a preInterceptor
  • Updates to functions to include both interceptors

Have you included tests for your changes?

No

Did you document any new/modified functionality?

No

Notes

Comment thread pkg/mqtt/mqtt.go Outdated
Copy link
Copy Markdown
Contributor

@dborovcanin dborovcanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre- and post- are tricky if we don't know what they are referring to. Something like beforeHandler and afterHandler would be more self-documenting.

Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
Signed-off-by: Felix Gateru <felix.gateru@gmail.com>
@dborovcanin dborovcanin merged commit f76e1c4 into absmach:main Apr 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants