Commits


Matthew Topol authored and Sebastien Binet committed f6501a5ee16
ARROW-10319: [Go][Flight] Add context to flight client auth handler During my usage I found that if i wanted to reuse an existing flight client that required authentication, it was difficult to reuse the auth handler since there wasn't a way to tell which goroutine / which auth made a particular request. By passing the context to the client auth handler it allows passing information to the auth handler via the context which could then be utilized by consumers in order to reuse a auth handler so that an entire flight client could be shared across multiple goroutines if desired. Corresponding unit test is updated as well. Closes #8471 from zeroshade/flight/auth/ctx Authored-by: Matthew Topol <mtopol@factset.com> Signed-off-by: Sebastien Binet <binet@cern.ch>