Open
Description
I'm working on a client that needs to refresh tokens in a special way, so I'm implementing my own TokenSource
. The strange thing seems to be that, although the TokenSource
interface is exported, I can't actually reuse the provided logic to refresh a token, as retrieveToken
is unexported and it calls an internal-only function: internal.RetrieveToken()
, even though all the parameters are exported values too.
Line 154 in c453e0c
I'd like to use either retrieveToken()
or internal.RetrieveToken()
as I'm essentially wrapping it differently than the built-in token refresher.
Can we potentially export retrieveToken()
or make internal.RetrieveToken()
usable by external packages?
Metadata
Metadata
Assignees
Labels
No labels