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

Clean up public api for web app #71

Merged
merged 3 commits into from
Mar 31, 2020
Merged

Clean up public api for web app #71

merged 3 commits into from
Mar 31, 2020

Conversation

jennyf19
Copy link
Collaborator

Copy link
Collaborator

@jmprieur jmprieur left a comment

Choose a reason for hiding this comment

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

LGTM.
Thanks @jennyf19

Copy link
Contributor

@pmaytak pmaytak left a comment

Choose a reason for hiding this comment

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

👍

builder.Services.Configure(openIdConnectScheme, configureOptions);
builder.Services.Configure<MicrosoftIdentityOptions>(options => configuration.Bind(configSectionName, options));
builder.Services.Configure(openIdConnectScheme, configureOpenIdConnectOptions);

Copy link
Contributor

@pmaytak pmaytak Mar 31, 2020

Choose a reason for hiding this comment

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

Nit: remove extra line. #Resolved


var microsoftIdentityOptions = configuration.GetSection(configSectionName).Get<MicrosoftIdentityOptions>();
var b2COidcHandlers = new AzureADB2COpenIDConnectEventHandlers(openIdConnectScheme, microsoftIdentityOptions);
Copy link
Contributor

@pmaytak pmaytak Mar 31, 2020

Choose a reason for hiding this comment

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

Nit: I think it should be b2cOidcHandlers since B2C is one acronym. #Resolved


services.Configure<OpenIdConnectOptions>(openIdConnectScheme, options =>
{
// Response type
Copy link
Contributor

@pmaytak pmaytak Mar 31, 2020

Choose a reason for hiding this comment

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

Nit: perhaps redundant comment? #Resolved

@jennyf19 jennyf19 merged commit 814cc0d into master Mar 31, 2020
@jennyf19 jennyf19 deleted the jennyf/options branch March 31, 2020 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants