Namespace XBullet.EasyTesting.Authentication

Classes

AzureAdClaimTypes

Common claim names emitted by Microsoft Entra ID (Azure AD) access tokens.

HttpClientAuthenticationExtensions

Methods for selecting the identity used by integration-test requests.

IdentityTestingExtensions

Helpers for arranging persisted ASP.NET Core Identity users in integration tests.

TestApiKeyBuilder

Fluently creates an API-key-shaped test principal.

TestApiKeyInjectionOptions

Configures how real API keys are injected into end-to-end test requests.

TestAuthenticationDefaults

Constants used by the test authentication handler.

TestAuthenticationEvent

Contains safe metadata captured from one real-handler authentication event.

TestAuthenticationEventAssertions

Fluently verifies authentication events recorded by a test scenario.

TestAuthenticationEventRecorder

Records redacted authentication events and exposes fluent assertions.

TestAuthenticationEventVerificationException

Thrown when recorded authentication events do not satisfy a fluent assertion.

TestAuthenticationHandler

Authenticates requests carrying a test-user header. Requests without the header remain anonymous. This handler must only be enabled in a test host.

TestAuthenticationOptions

Options for the integration-test authentication scheme.

TestAuthenticationSchemeBuilder

Maps test authentication profiles to scheme names used by the application.

TestAzureAdUserBuilder

Fluently creates an Azure AD-shaped test principal.

TestClaim

A serializable claim used to construct a TestUser.

TestClaimsPrincipalFactory

Creates standard claims identities for a transported test user and provides overridable identity materialization for applications with custom ClaimsIdentity types.

TestClientCertificateBuilder

Fluently creates a self-signed client certificate for TestServer.

TestClientCertificateOptions

Configures end-to-end client-certificate test transport.

TestFederatedUserBuilder

Fluently creates a test principal with a primary Federation identity and an additional API-user identity.

TestIdentity

Describes an additional identity attached to a simulated test principal.

TestIdentityBuilder

Fluently constructs an additional identity for a simulated principal.

TestJwtAuthority

Creates locally signed JWTs and publishes their OIDC/JWKS metadata in a test host.

TestJwtAuthorityOptions

Configures the local JWT authority used by end-to-end authentication tests.

TestJwtBuilder

Fluently defines a JWT produced by a TestJwtAuthority.

TestUser

Describes the identity attached to one integration-test request.

TestUserBuilder

Fluently constructs an immutable TestUser.

Interfaces

ITestClaimsPrincipalFactory

Materializes a server-side claims principal from a transported test-user definition.

Enums

TestAuthenticationEventKind

Identifies an authentication event captured by an end-to-end test handler.