Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10319

[Flight][Go] Add Context to Client Auth Handler functions for Flight

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zeroshade Matthew Topol
              zeroshade Matthew Topol
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h