This PR removes the field delegation_token from the struct AuthorizeScramOverMtls to avoid caching the token in AuthorizeScramOverMtls instances. Instead, we store the username used to generate delegation tokens in this struct and fetch the delegation token from the TokenTask every time it's needed.
This PR removes the field
delegation_token
from the structAuthorizeScramOverMtls
to avoid caching the token inAuthorizeScramOverMtls
instances. Instead, we store the username used to generate delegation tokens in this struct and fetch the delegation token from theTokenTask
every time it's needed.Progress towards #1667