-
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
update Id web to support authentication handlers other than JwtBearer… #1498
Conversation
… and provide extension method
SonarCloud Quality Gate failed. |
/// <summary> | ||
/// Web API authentication builder. | ||
/// </summary> | ||
public static class WebApiBuildersInternal |
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.
nit: a bit odd to suffix a public class with 'Internal'. #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.
we are trying to hide it. yes, it's odd.
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.
will go with WebApiBuilders
but leave it in the internal namespace
public static class WebApiBuildersInternal | ||
{ | ||
/// <summary> | ||
/// Enables token acquisition which is not specific to JWT, such as when using Microsoft.Identity.Service.Essentials (MISE). |
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.
Don't need to call-out MISE specifically. It now allows a higher level abstraction of security token (i.e. System.IdentityModel.Tokens.Jwt and more modern, Microsoft.IdentityModel.JsonWebTokens) to be used with IdWeb. #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.
that's beautiful! well said!
Approving Wilson specific changes. |
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 @jennyf19
… and provide extension method
replaces #1493