Added identity stores. TODOs
This commit is contained in:
@@ -83,6 +83,7 @@ namespace Umbraco.Web
|
||||
return marker.GetManager(owinContext)
|
||||
?? throw new NullReferenceException($"Could not resolve an instance of {typeof (BackOfficeUserManager<BackOfficeIdentityUser>)} from the {typeof (IOwinContext)}.");
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: SB: OWIN DI
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,6 +16,19 @@ using Constants = Umbraco.Core.Constants;
|
||||
|
||||
namespace Umbraco.Web.Security
|
||||
{
|
||||
// TODO: SB: Create new custom BackOfficeSignInManager2 (rename pending)
|
||||
public class BackOfficeSignInManager2
|
||||
{
|
||||
// Create
|
||||
// CreateUserIdentityAsync
|
||||
// PasswordSignInAsync
|
||||
// SignInAsync
|
||||
// GetVerifiedUserIdAsync
|
||||
// GetVerifiedUserNameAsync
|
||||
// TwoFactorSignInAsync
|
||||
// SendTwoFactorCodeAsync
|
||||
}
|
||||
|
||||
// TODO: In v8 we need to change this to use an int? nullable TKey instead, see notes against overridden TwoFactorSignInAsync
|
||||
public class BackOfficeSignInManager : SignInManager<BackOfficeIdentityUser, int>
|
||||
{
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
<PackageReference Include="Microsoft.AspNet.WebApi" Version="5.2.7" />
|
||||
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
|
||||
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="3.1.2" />
|
||||
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="3.1.2" />
|
||||
<PackageReference Include="Microsoft.Owin.Host.SystemWeb" Version="4.0.1" />
|
||||
<PackageReference Include="Microsoft.Owin.Security.Cookies" Version="4.0.1" />
|
||||
<PackageReference Include="Microsoft.Owin.Security.OAuth" Version="4.0.1" />
|
||||
|
||||
Reference in New Issue
Block a user