GetTwoFactorEnabledAsync(TUser, CancellationToken) Method

// .NET Standard 2.0 + Platform Extensions
// Microsoft.Extensions.Identity.Core, Version=2.0.2.0, PublicKeyToken=adb9793829ddae60

namespace Microsoft.AspNetCore.Identity
{
    public interface IUserTwoFactorStore<TUser> : IDisposable, IUserStore<TUser> where TUser : class
    {
        Task<bool> GetTwoFactorEnabledAsync(TUser user, CancellationToken cancellationToken);
    }
}

Usage

Metadata

ID
M:Microsoft.AspNetCore.Identity.IUserTwoFactorStore`1.GetTwoFactorEnabledAsync(`0,System.Threading.CancellationToken)

Declarations

Platform Version Assembly
.NET 5.0 Microsoft.Extensions.Identity.Core, Version=5.0.0.0, PublicKeyToken=adb9793829ddae60
.NET + Platform Extensions 5.0 Microsoft.Extensions.Identity.Core, Version=5.0.0.0, PublicKeyToken=adb9793829ddae60
.NET Core 3.1 Microsoft.Extensions.Identity.Core, Version=3.1.0.0, PublicKeyToken=adb9793829ddae60
.NET Core + Platform Extensions 2.0 Microsoft.Extensions.Identity.Core, Version=2.0.2.0, PublicKeyToken=adb9793829ddae60
2.1 Microsoft.Extensions.Identity.Core, Version=2.1.0.0, PublicKeyToken=adb9793829ddae60
2.2 Microsoft.Extensions.Identity.Core, Version=2.2.0.0, PublicKeyToken=adb9793829ddae60
3.0 Microsoft.Extensions.Identity.Core, Version=3.0.0.0, PublicKeyToken=adb9793829ddae60
.NET Standard + Platform Extensions 1.6 Microsoft.AspNetCore.Identity, Version=1.1.0.0, PublicKeyToken=adb9793829ddae60
2.0 Microsoft.Extensions.Identity.Core, Version=2.0.2.0, PublicKeyToken=adb9793829ddae60
ASP.NET Core 2.0 Microsoft.Extensions.Identity.Core, Version=2.0.1.0, PublicKeyToken=adb9793829ddae60