12 references to GetAuthenticationTokenAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
SqlStoreOnlyUsersTestBase.cs (2)
112Assert.Equal("value", await userMgr.GetAuthenticationTokenAsync(user, "provider", "test")); 116Assert.Null(await userMgr.GetAuthenticationTokenAsync(user, "provider", "test"));
SqlStoreTestBase.cs (2)
211Assert.Equal("value", await userMgr.GetAuthenticationTokenAsync(user, "provider", "test")); 215Assert.Null(await userMgr.GetAuthenticationTokenAsync(user, "provider", "test"));
Microsoft.AspNetCore.Identity.InMemory.Test (2)
ControllerTest.cs (2)
104Assert.Equal("refresh", await userManager.GetAuthenticationTokenAsync(user, authScheme, "refresh_token")); 105Assert.Equal("access", await userManager.GetAuthenticationTokenAsync(user, authScheme, "access_token"));
Microsoft.AspNetCore.Identity.Specification.Tests (5)
UserManagerSpecificationTests.cs (5)
1728Assert.Null(await manager.GetAuthenticationTokenAsync(user, "provider", "name")); 1730Assert.Equal("value", await manager.GetAuthenticationTokenAsync(user, "provider", "name")); 1733Assert.Equal("value2", await manager.GetAuthenticationTokenAsync(user, "provider", "name")); 1736Assert.Equal("value2", await manager.GetAuthenticationTokenAsync(user, "provider", "name")); 1739Assert.Null(await manager.GetAuthenticationTokenAsync(user, "provider", "name"));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
943await VerifyException<NotSupportedException>(async () => await manager.GetAuthenticationTokenAsync(null, null, null), error);