-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
javaPull requests that update Java codePull requests that update Java code
Milestone
Description
I have now implemented quite a few times OidcTokenAccessProvider, for example here.
Despite it being almost trivial in the end user codebase it turns out that is difficult to refactor the mechanism up to this repository.
More specifically the challenges are:
- Access to an
HttpClient(orRequestAdapterbut I think there are a few gaps later on) - possibly we should be able to decide to use the same or a different one from the "normal" API calls - encode a form body is pretty straightforward with a bare HTTP client, not sure how that looks like with bare Kiota without the generated classes
- decode a Json response
- etc...
I'm here looking for guidance on how we can approach the problem.
I have attempted at first to add an initialize method to AccessTokenProvider and to AuthenticationProvider so that it can be eventually triggered by the RequestAdapter implementation.
I started having too many things to pull in and thought that it was not a great design ...
Metadata
Metadata
Assignees
Labels
javaPull requests that update Java codePull requests that update Java code
Type
Projects
Status
New📃