4 implementations of SignOutAsync
Microsoft.AspNetCore.Authentication.Core (1)
Microsoft.AspNetCore.Authorization.Test (3)
28 references to SignOutAsync
Microsoft.AspNetCore.Authentication.Abstractions (4)
Microsoft.AspNetCore.Authentication.Core (2)
Microsoft.AspNetCore.Http.Results.Tests (4)
Microsoft.AspNetCore.Identity.Test (10)
SignInManagerTest.cs (7)
538auth.Setup(a => a.SignOutAsync(context, IdentityConstants.ExternalScheme, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
539auth.Setup(a => a.SignOutAsync(context, IdentityConstants.TwoFactorUserIdScheme, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
684auth.Setup(a => a.SignOutAsync(context, IdentityConstants.ExternalScheme, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
685auth.Setup(a => a.SignOutAsync(context, IdentityConstants.TwoFactorUserIdScheme, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
819auth.Setup(a => a.SignOutAsync(context, IdentityConstants.ApplicationScheme, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
820auth.Setup(a => a.SignOutAsync(context, IdentityConstants.TwoFactorUserIdScheme, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
821auth.Setup(a => a.SignOutAsync(context, IdentityConstants.ExternalScheme, It.IsAny<AuthenticationProperties>())).Returns(Task.FromResult(0)).Verifiable();
Microsoft.AspNetCore.Mvc.Core.Test (8)
SignOutResultTest.cs (8)
24.Setup(c => c.SignOutAsync(httpContext.Object, null, null))
50.Setup(c => c.SignOutAsync(httpContext.Object, "", null))
77.Setup(c => c.SignOutAsync(httpContext.Object, "Scheme1", authProperties))
81.Setup(c => c.SignOutAsync(httpContext.Object, "Scheme2", authProperties))
107.Setup(c => c.SignOutAsync(httpContext.Object, null, null))
127.Setup(c => c.SignOutAsync(httpContext.Object, "", null))
148.Setup(c => c.SignOutAsync(httpContext.Object, "Scheme1", authProperties))
152.Setup(c => c.SignOutAsync(httpContext.Object, "Scheme2", authProperties))