Class HttpContextApplicationAuditContextAccessorTests
- Namespace
- ProjectTemplate.Web.Tests
- Assembly
- ProjectTemplate.Web.Tests.dll
public sealed class HttpContextApplicationAuditContextAccessorTests
- Inheritance
-
HttpContextApplicationAuditContextAccessorTests
- Inherited Members
-
Methods
Current_AuthenticatedUserWithNormalizedAndProviderSubjectClaims_PrefersNormalizedSubject()
[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextApplicationAuditContextAccessorTests.cs", 22)]
public void Current_AuthenticatedUserWithNormalizedAndProviderSubjectClaims_PrefersNormalizedSubject()
Current_AuthenticatedUserWithOnlyNormalizedSubjectClaim_UsesSubject()
[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextApplicationAuditContextAccessorTests.cs", 12)]
public void Current_AuthenticatedUserWithOnlyNormalizedSubjectClaim_UsesSubject()
Current_AuthenticatedUserWithOnlyProviderSubjectClaim_UsesProviderSubject()
[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextApplicationAuditContextAccessorTests.cs", 34)]
public void Current_AuthenticatedUserWithOnlyProviderSubjectClaim_UsesProviderSubject()
Current_AuthenticatedUserWithoutSubjectClaims_UsesRemoteIpAddress()
[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextApplicationAuditContextAccessorTests.cs", 43)]
public void Current_AuthenticatedUserWithoutSubjectClaims_UsesRemoteIpAddress()