AspNetIdentityTestBase<TFixture, TContext, TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TRoleClaim, TUserToken>
AspNetIdentityFixtureBase
AspNetIdentityTestBase(TFixture)
ExpectedMappings
Fixture
Can_build_identity_model()
Can_call_RoleStore_GetClaimsAsync()
Can_call_UserOnlyStore_FindByEmailAsync()
Can_call_UserOnlyStore_FindByNameAsync()
Can_call_UserOnlyStore_GetClaimsAsync()
Can_call_UserOnlyStore_GetLoginsAsync()
Can_call_UserOnlyStore_GetUsersForClaimAsync()
Can_call_UserOnlyStore_RemoveClaimsAsync()
Can_call_UserOnlyStore_ReplaceClaimAsync()
Can_call_UserStore_FindByEmailAsync()
Can_call_UserStore_FindByNameAsync()
Can_call_UserStore_GetLoginsAsync()
Can_call_UserStore_GetRolesAsync()
Can_call_UserStore_GetUsersForClaimAsync()
Can_call_UserStore_GetUsersInRoleAsync()
Can_call_UserStore_RemoveClaimsAsync()
Can_call_UserStore_ReplaceClaimAsync()
CreateContext()
CreateUser(TContext, TUser)
ExecuteWithStrategyInTransactionAsync(Func<TContext, Task>, Func<TContext, Task>, Func<TContext, Task>, Func<TContext, Task>)
UseTransaction(DatabaseFacade, IDbContextTransaction)
net10.0-windows7.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class AspNetIdentityTestBase<TFixture, TContext, TUser, TRole, TKey, TUserClaim, TUserRole, TUserLogin, TRoleClaim, TUserToken> : IClassFixture<TFixture>
where TFixture, AspNetIdentityFixtureBase
where TContext, IdentityUserContext<TUser, TKey, TUserClaim, TUserLogin, TUserToken>
where TUser, new(), IdentityUser<TKey>
where TRole, new(), IdentityRole<TKey>
where TKey, IEquatable<TKey>
where TUserClaim, new(), IdentityUserClaim<TKey>
where TUserRole, new(), IdentityUserRole<TKey>
where TUserLogin, new(), IdentityUserLogin<TKey>
where TRoleClaim, new(), IdentityRoleClaim<TKey>
where TUserToken, new(), IdentityUserToken<TKey>
{
[AsyncStateMachine(typeof(<Can_call_UserStore_GetRolesAsync>d__6))]
[ConditionalFact]
public Task Can_call_UserStore_GetRolesAsync();
}
}
.NET | 8.09.010.0 |
---|---|
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assemblies | Microsoft.EntityFrameworkCore.AspNet.Specification.Tests , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.EntityFrameworkCore.AspNet.Specification.Tests , Version=8.0.14.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.EntityFrameworkCore.AspNet.Specification.Tests (9.0.0-preview.4.24210.1) net9.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API