13 references to AuthenticationTicket
Aspire.Dashboard (7)
Api\ApiAuthenticationHandler.cs (3)
40return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name))); 72return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name))); 80return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name)));
Authentication\AspirePolicyEvaluator.cs (2)
68var ticket = new AuthenticationTicket(newPrincipal, string.Join(';', policy.AuthenticationSchemes)); 87? AuthenticateResult.Success(new AuthenticationTicket(context.User, "context.User"))
Authentication\OtlpCompositeAuthenticationHandler.cs (1)
38return AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name));
Authentication\UnsecuredAuthenticationHandler.cs (1)
24return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name)));
Aspire.Dashboard.Tests (1)
Terminal\TerminalWebSocketProxyEndpointTests.cs (1)
195var ticket = new AuthenticationTicket(principal, SchemeName);
Aspire.Hosting (1)
Dashboard\DashboardServiceAuth.cs (1)
59new AuthenticationTicket(
Microsoft.AspNetCore.Authorization.Policy (2)
PolicyEvaluator.cs (2)
57var ticket = new AuthenticationTicket(newPrincipal, string.Join(';', policy.AuthenticationSchemes)); 76? AuthenticateResult.Success(new AuthenticationTicket(context.User, "context.User"))
Microsoft.AspNetCore.Server.IIS (1)
Core\IISServerAuthenticationHandlerInternal.cs (1)
30return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(user, Scheme.Name)));
Microsoft.AspNetCore.Server.IISIntegration (1)
AuthenticationHandler.cs (1)
23return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(_user, _scheme.Name)));