gitbeaker icon indicating copy to clipboard operation
gitbeaker copied to clipboard

Support passing token to specific requests

Open lianghx-319 opened this issue 3 years ago • 2 comments

Description

In some cases, got a token dynamically. But we must create more and more instance for every token;

Proposal

Just like Sudo, as an option for each request.

lianghx-319 avatar Aug 23 '21 07:08 lianghx-319

@jdalrymple do you support this feature suggestion?

F3n67u avatar Aug 27 '21 08:08 F3n67u

I do! I just havent gotten around to it yet, got a few bugs to tackle first

jdalrymple avatar Aug 27 '21 15:08 jdalrymple

Reintializing the instance shouldn't be that big of an issue. Can you provide some usecases where this would be a problem that would be solved by passing a custom token to a method?

jdalrymple avatar Apr 26 '23 18:04 jdalrymple

Closing for now! Open to reopening with more information

jdalrymple avatar May 06 '23 18:05 jdalrymple