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

Initial version to support OWIN, .NET, .NET Core #1661

Merged
merged 58 commits into from
Jul 24, 2022

Conversation

jmprieur
Copy link
Collaborator

@jmprieur jmprieur commented Mar 16, 2022

Comments to add - not ready to review
Needs a few updates to unit tests

Not ready to review

There are a lot of files changed, but this is mainly because of the new OWIN sample

Needs a few updates to unit tests
- AddTokenAcquisition now callable from net462
- AddGraph calllable from net462
- Adding a daemon sample using Id.Web.
- AddTokenAcquisition now callable from net462
- AddGraph calllable from net462
- Adding a daemon sample using Id.Web.

namespace Microsoft.Identity.Web.Hosts
{
internal class PlainDotNetTokenAcquisitionHost : ITokenAcquisitionHost
Copy link
Member

Choose a reason for hiding this comment

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

Maybe DefaultTokenAcquisitionHost or NullTokenAcquisitionHost

@jmprieur jmprieur changed the title Initial version. Initial version to support OWIN, .NET, .NET Core Mar 31, 2022
jennyf19 and others added 3 commits July 17, 2022 19:10
* update new dlls with directory.build.props

* Updating the Web.Config assembly bindings
in the ASP.NET OWIN Web app

* Updating the folder name for the daemon app

* PR feedback

Co-authored-by: Jean-Marc Prieur <jmprieur@microsoft.com>
…d.Web) (#1810)

* - In AuthenticationOptions and MicrosoftAuthenticationOptions, move properties were they should have been in the first place (when AAD specific)
- Move LoggingOptions to Ms.Id.Web.TokenAcquisition
- MicrosoftIdentityBaseAuthenticationBuilder and MicrosoftIdentityAppCallingWebApiAuthenticationBuilder move to Ms.Id.Web.TokenAcquisition
- Session methods of MicrosoftIdentityAppCallingWebApiAuthenticationBuilder move to an extension method
- TokenAcquisitionAspNetCore inherits from TokenAcquisition instead of being a partial class implementation (Could move to another assembly if we choose to)
- AddTokenAcquisition now register ITokenAcquirer (And only this one in the case of framework others than .NET Core)

* - OwinWebApi now is 472
- OwinWebApp updates to Web.Config and project
- Ms.Id.Web.MicrosoftGraph now references Ms.Id.Web.TokenAcquisition
(no longer Ms.Id.Web)

* PR review

* Adressing PR comment
@jmprieur jmprieur marked this pull request as ready for review July 19, 2022 02:35
changelog.md Outdated Show resolved Hide resolved
@jennyf19
Copy link
Collaborator

using System.Web;

license info


Refers to: src/Microsoft.Identity.Web.OWIN/HttpContextExtensions.cs:1 in 29bb54a. [](commit_id = 29bb54a, deletion_comment = False)

@jennyf19
Copy link
Collaborator

using Microsoft.IdentityModel.Protocols;

license info


Refers to: src/Microsoft.Identity.Web.OWIN/OpenIdConnectCachingSecurityTokenProvider.cs:1 in 29bb54a. [](commit_id = 29bb54a, deletion_comment = False)

@jennyf19
Copy link
Collaborator

using System.Net;

license info


Refers to: src/Microsoft.Identity.Web.OWIN/OwinTokenAcquisitionHost.cs:1 in 29bb54a. [](commit_id = 29bb54a, deletion_comment = False)

@jennyf19
Copy link
Collaborator

using System.Net;

license info


Refers to: src/Microsoft.Identity.Web.TokenAcquisition/ITokenAcquisitionHost.cs:1 in 29bb54a. [](commit_id = 29bb54a, deletion_comment = False)

@jennyf19
Copy link
Collaborator

using System.Net;

licnese info


Refers to: src/Microsoft.Identity.Web.TokenAcquisition/PlainDotNetTokenAcquisitionHost.cs:1 in 29bb54a. [](commit_id = 29bb54a, deletion_comment = False)

@jennyf19
Copy link
Collaborator

using System;

license info


Refers to: src/Microsoft.Identity.Web.TokenAcquisition/AspNetCore/TokenAcquisition-AspnetCore.cs:1 in 29bb54a. [](commit_id = 29bb54a, deletion_comment = False)

@jennyf19
Copy link
Collaborator

I'm only partway through. I will the branch and continue tomorrow

Copy link
Collaborator

@jennyf19 jennyf19 left a comment

Choose a reason for hiding this comment

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

:shipit:

@jennyf19 jennyf19 merged commit 2cc4ed6 into rel/v2 Jul 24, 2022
@jmprieur jmprieur deleted the jmprieur/Sandbox-FutureDevEx branch September 16, 2022 20:36
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.

4 participants