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

Removed deprecated Authentication property from HttpContext (including all of 1.x auth stack) #337

Open
davidfowl opened this Issue Jan 9, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@davidfowl
Copy link
Member

davidfowl commented Jan 9, 2019

As part of aspnet/AspNetCore#6504 we've removed the deprecated Authentication property. The Authentication property has been deprecated since 2.0 and a migration guide was published to migrate code using this deprecated property to the new replacement APIs.

Please discussion this on aspnet/AspNetCore#6533

@davidfowl davidfowl added this to the 3.0.0 milestone Jan 9, 2019

@davidfowl davidfowl added the 3.0.0 label Jan 9, 2019

@aspnet aspnet locked and limited conversation to collaborators Jan 10, 2019

@HaoK HaoK changed the title Removed deprecated Authentication property from HttpContext Removed deprecated Authentication property from HttpContext (including all of 1.x auth stack) Jan 10, 2019

@HaoK

This comment has been minimized.

Copy link
Member

HaoK commented Jan 10, 2019

Note: we have also removed all of the remaining unused classes/apis related to the old 1.x authentication stack in aspnet/AspNetCore@d7a7c65

This includes:

// Classes
Microsoft.AspNetCore.Http.Authentication.AuthenticationManager
Microsoft.AspNetCore.Http.Authentication.AuthenticateInfo
Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties
Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext
Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext
Microsoft.AspNetCore.Http.Features.Authentication.ChallengeBehavior
Microsoft.AspNetCore.Http.Features.Authentication.DescribeSchemesContext
Microsoft.AspNetCore.Http.Features.Authentication.IAuthenticationHandler
Microsoft.AspNetCore.Http.Features.Authentication.SignInContext
Microsoft.AspNetCore.Http.Features.Authentication.SignOutContext

// Property
Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature.Handler property
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.