Skip to content

Breaking change in SignInManager constructor (new parameter) #14828

Closed
@BrennanConroy

Description

@BrennanConroy

Breaking change in SignInManager constructor (new parameter)

As part of adding support for new email/confirmation flows in Identity(dotnet/aspnetcore#8356), we added a new IUserConfirmation<TUser> argument to the constructor of SignInManager

Version introduced

3.0

Old behavior

SignInManager didn't require IUserConfirmation when constructing.

New behavior

SignInManager requires an IUserConfirmation.

Reason for change

Adding support for new email/confirmation flows

Recommended action

If manually constructing a SignInManager pass in an implementation of IUserConfirmation or grab one from DI to pass in.

Category

ASP.NET Core

Affected APIs

SignInManager.ctor


Issue metadata

  • Issue type: breaking-change

Metadata

Metadata

Assignees

Labels

breaking-changeIndicates a .NET Core breaking change

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions