-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/auth handler #1562
base: main
Are you sure you want to change the base?
Feat/auth handler #1562
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this started!
import java.util.regex.Matcher; | ||
import java.util.regex.Pattern; | ||
|
||
public class ContinuousAccessEvaluationClaims { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we restrict this to package instead?
import java.util.Objects; | ||
import java.util.Set; | ||
|
||
public class AuthorizationHandler implements Interceptor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing doc comment
...ents/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/AuthorizationHandler.java
Outdated
Show resolved
Hide resolved
...ents/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/AuthorizationHandler.java
Outdated
Show resolved
Hide resolved
...ents/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/AuthorizationHandler.java
Outdated
Show resolved
Hide resolved
...ents/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/AuthorizationHandler.java
Show resolved
Hide resolved
...ents/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/AuthorizationHandler.java
Outdated
Show resolved
Hide resolved
...ents/http/okHttp/src/main/java/com/microsoft/kiota/http/middleware/AuthorizationHandler.java
Outdated
Show resolved
Hide resolved
@Nullable Map<String, Object> additionalAuthenticationContext, | ||
@Nonnull Span span) { | ||
final RequestInformation requestInformation = getRequestInformation(request); | ||
authenticationProvider.authenticateRequest( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should get the access token provider from the base authentication provider instead so we don't have to create an intermediate request information object.
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
closes microsoftgraph/msgraph-sdk-java#2096