-
Notifications
You must be signed in to change notification settings - Fork 416
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
Added internal virtual on TokenHandler #3084
Conversation
SummarySummary
CoverageMicrosoft.IdentityModel.JsonWebTokens - 80.3%
|
SummarySummary
CoverageMicrosoft.IdentityModel.JsonWebTokens - 80.3%
|
b69fd68
to
75acd6c
Compare
SummarySummary
CoverageMicrosoft.IdentityModel.JsonWebTokens - 80.3%
|
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.
I've asked a few questions.
A lot of duplicated code in AadTokenValidationParametersExtension / AadValidationParametersExtension.Internal
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Validators/AadValidationParametersExtension.Internal.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Validators/AadValidationParametersExtension.Internal.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Validators/AadValidationParametersExtension.Internal.cs
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Validators/AadValidationParametersExtension.Internal.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Validators/AadValidationParametersExtension.Internal.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Validators/AadValidationParametersExtension.Internal.cs
Outdated
Show resolved
Hide resolved
SummarySummary
CoverageMicrosoft.IdentityModel.JsonWebTokens - 80.3%
|
3da162e
to
0f6c5a3
Compare
SummarySummary
CoverageMicrosoft.IdentityModel.JsonWebTokens - 80.3%
|
SummarySummary
CoverageMicrosoft.IdentityModel.JsonWebTokens - 80.3%
|
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.Internal.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.Internal.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.IdentityModel.Validators/AadValidationParametersExtension.Internal.cs
Outdated
Show resolved
Hide resolved
0f6c5a3
to
f907b43
Compare
SummarySummary
CoverageMicrosoft.IdentityModel.JsonWebTokens - 80.3%
|
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.
LGTM
Thanks @brentschmaltz
Add AadIssuer with ValidationParameters Added tests to AadIssuerValidator for ValidationParameters
01d92e2
to
fae2832
Compare
SummarySummary
CoverageMicrosoft.IdentityModel.JsonWebTokens - 80.3%
|
Add support to AadIssuerValidator for ValidationParameters.
Removed the parameter BaseConfiguration from delegates as ValidationParameters has ConfigurationManager which should be used to obtain BaseConfiguration when needed.
ValidationParameters.PropertyBag was not instantiated.
Create ValidationParameters.PropertyBag and InstancePropertyBag on demand.
Copy logic from existing AadIssuerValidator, keeping as code the same as much as possible.
Copy logic from existing AadTokenValidationParametersExtension to AadValidationParametersExtension keeping as code the same as much as possible.
This copied code will need to be refactored into common base code.
Move CloudInstanceNameKey to constants file.
Added tests to AadTokenValidationParametersExtensionTests and MicrosoftIdentityIssuerValidatorTest that cover existing tests.