Skip to content
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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Feat/auth handler #1562

wants to merge 6 commits into from

Conversation

Ndiritu
Copy link
Contributor

@Ndiritu Ndiritu commented Sep 11, 2024

@Ndiritu Ndiritu self-assigned this Sep 11, 2024
Copy link
Member

@baywet baywet left a 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 {
Copy link
Member

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 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing doc comment

@Nullable Map<String, Object> additionalAuthenticationContext,
@Nonnull Span span) {
final RequestInformation requestInformation = getRequestInformation(request);
authenticationProvider.authenticateRequest(
Copy link
Member

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress 🚧
Development

Successfully merging this pull request may close these issues.

No way to query product ingestion API since CustomRequestBuilder removed in V6
2 participants