Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ClientAuthentication_hook #1738

Open
draescherl opened this issue Jun 20, 2024 · 2 comments
Open

Support for ClientAuthentication_hook #1738

draescherl opened this issue Jun 20, 2024 · 2 comments

Comments

@draescherl
Copy link

Hi, thanks for the amazing work.

I was wondering if the ClientAuthentication_hook was supported?

I couldn't find a reference to it in the docs. Looking through issues and pull requests, all I could find are the following issue #1073 and related PR #1077, which seem to indicate they aren't available in PGRX yet.

Has this changed since then? If not, is it because supporting it is non-trivial?

Thanks in advance!

@eeeebbbbrrrr
Copy link
Contributor

We don’t have safe wrappers around it but it’s super easy to add the hook yourself with a bit of unsafe {}

@draescherl
Copy link
Author

Hi, thanks for the quick reply. I'd be very curious to try adding the hook myself, however my experience with Rust is quite limited and I'm not sure how to go about it. Would you have a commit I could use as an example?

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

No branches or pull requests

2 participants