Table of Contents

Class HttpContextCurrentActorAccessorTests

Namespace
ProjectTemplate.Web.Tests
Assembly
ProjectTemplate.Web.Tests.dll
public sealed class HttpContextCurrentActorAccessorTests
Inheritance
HttpContextCurrentActorAccessorTests
Inherited Members

Methods

CurrentActor_AnonymousRequestWithoutRemoteIpAddress_ReturnsUnknown()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 107)]
public void CurrentActor_AnonymousRequestWithoutRemoteIpAddress_ReturnsUnknown()

CurrentActor_AnonymousUserWithSubjectClaim_UsesRemoteIpAddress()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 95)]
public void CurrentActor_AnonymousUserWithSubjectClaim_UsesRemoteIpAddress()

CurrentActor_AuthenticatedUserMissingSubjectClaim_UsesNameIdentifierFallback()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 57)]
public void CurrentActor_AuthenticatedUserMissingSubjectClaim_UsesNameIdentifierFallback()

CurrentActor_AuthenticatedUserWithNoUsableClaims_UsesRemoteIpAddress()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 81)]
public void CurrentActor_AuthenticatedUserWithNoUsableClaims_UsesRemoteIpAddress()

CurrentActor_AuthenticatedUserWithNormalizedAndProviderSubjectClaims_PrefersNormalizedSubject()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 33)]
public void CurrentActor_AuthenticatedUserWithNormalizedAndProviderSubjectClaims_PrefersNormalizedSubject()

CurrentActor_AuthenticatedUserWithOnlyNormalizedSubjectClaim_ReturnsSubject()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 22)]
public void CurrentActor_AuthenticatedUserWithOnlyNormalizedSubjectClaim_ReturnsSubject()

CurrentActor_AuthenticatedUserWithSubjectClaim_ReturnsSubject()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 11)]
public void CurrentActor_AuthenticatedUserWithSubjectClaim_ReturnsSubject()

CurrentActor_AuthenticatedUserWithWhitespaceSubjectClaim_TrimsSubject()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 46)]
public void CurrentActor_AuthenticatedUserWithWhitespaceSubjectClaim_TrimsSubject()

CurrentActor_AuthenticatedUserWithWhitespaceSubjectClaim_UsesNameIdentifierFallback()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 68)]
public void CurrentActor_AuthenticatedUserWithWhitespaceSubjectClaim_UsesNameIdentifierFallback()

CurrentActor_MissingHttpContext_ReturnsUnknown()

[Fact("/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/tests/ProjectTemplate.Web.Tests/HttpContextCurrentActorAccessorTests.cs", 117)]
public void CurrentActor_MissingHttpContext_ReturnsUnknown()