git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1db6897) | patch
Refactor SASL exchange to return tri-state status
2024年3月21日 13:45:46 +0000 (14:45 +0100)
2024年3月21日 13:45:46 +0000 (14:45 +0100)
commit 24178e235ea56aca9233e640dd7ff9b17e858b07
Refactor SASL exchange to return tri-state status

The SASL exchange callback returned state in to output variables:
done and success. This refactors that logic by introducing a new
return variable of type SASLStatus which makes the code easier to
read and understand, and prepares for future SASL exchanges which
operate asynchronously.

This was extracted from a larger patchset to introduce OAuthBearer
authentication and authorization.

Author: Jacob Champion <jacob.champion@enterprisedb.com>
Discussion: https://postgr.es/m/d1b467a78e0e36ed85a09adf979d04cf124a9d4b.camel@vmware.com
src/interfaces/libpq/fe-auth-sasl.h diff | blob | blame | history
src/interfaces/libpq/fe-auth-scram.c diff | blob | blame | history
src/interfaces/libpq/fe-auth.c diff | blob | blame | history
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /