7 references to SetAuthenticationTokenAsync
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
739
var result = await UserManager.
SetAuthenticationTokenAsync
(user, externalLogin.LoginProvider, token.Name, token.Value);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (3)
SqlStoreOnlyUsersTestBase.cs (1)
110
IdentityResultAssert.IsSuccess(await userMgr.
SetAuthenticationTokenAsync
(user, "provider", "test", "value"));
SqlStoreTestBase.cs (1)
209
IdentityResultAssert.IsSuccess(await userMgr.
SetAuthenticationTokenAsync
(user, "provider", "test", "value"));
UserStoreEncryptPersonalDataTest.cs (1)
216
IdentityResultAssert.IsSuccess(await manager.
SetAuthenticationTokenAsync
(user, "loginProvider", "token", "value"));
Microsoft.AspNetCore.Identity.Specification.Tests (2)
UserManagerSpecificationTests.cs (2)
1729
IdentityResultAssert.IsSuccess(await manager.
SetAuthenticationTokenAsync
(user, "provider", "name", "value"));
1732
IdentityResultAssert.IsSuccess(await manager.
SetAuthenticationTokenAsync
(user, "provider", "name", "value2"));
Microsoft.AspNetCore.Identity.Test (1)
UserManagerTest.cs (1)
944
await VerifyException<NotSupportedException>(async () => await manager.
SetAuthenticationTokenAsync
(null, null, null, null), error);