-
Notifications
You must be signed in to change notification settings - Fork 218
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
Microsoft.Identity.Web token acquisition extensions #3005
Conversation
src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisitionAddIn.cs
Outdated
Show resolved
Hide resolved
and fixing Travis's change
src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisitionAddIn.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisitionAddIn.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Identity.Web.TokenAcquisition/TokenAcquisitionAddIn.cs
Outdated
Show resolved
Hide resolved
tests/Microsoft.Identity.Web.Test/TokenAcquisitionAddInTests.cs
Outdated
Show resolved
Hide resolved
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.
ExtraParameters, OnAfterTokenAcquisition and OnBuildConfidentialClientApplication are not used / invoked by the product code.
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.
Discussed offline about unused events. Not blocking on this.
If you want to leave them in, maybe throw an "NotImplementedException" when an event is registered?
Working on addressing PR feedback and finishing PR |
Merging from here: #3100 |
* WIP Refactoring code * Updating test * Updating test * Clean up. Removing future code * Creating partial class * PR Feedback * internal api updates * Update public api --------- Co-authored-by: trwalke <trwalke@microsoft.com>
Work left (addressing PR feedback)
TokenAcquisitionAddInOptions
toTokenAcquisitionExtensionOptions
tokenAcquisitionAddInOptionsMonitor
variable totokenAcquisitionExtensionOptionsMonitor
, andaddInOptions
totokenAcquisitionExtensionOptions
in TokenAcquisition.cs#if FUTURE
.