12 references to AuthenticationTicket
Aspire.Dashboard (8)
Api\ApiAuthenticationHandler.cs (3)
43
return AuthenticateResult.Success(new
AuthenticationTicket
(new ClaimsPrincipal(id), Scheme.Name));
76
return AuthenticateResult.Success(new
AuthenticationTicket
(new ClaimsPrincipal(id), Scheme.Name));
84
return AuthenticateResult.Success(new
AuthenticationTicket
(new ClaimsPrincipal(id), Scheme.Name));
Authentication\AspirePolicyEvaluator.cs (2)
68
var ticket = new
AuthenticationTicket
(newPrincipal, string.Join(';', policy.AuthenticationSchemes));
87
? AuthenticateResult.Success(new
AuthenticationTicket
(context.User, "context.User"))
Authentication\OtlpCompositeAuthenticationHandler.cs (1)
38
return AuthenticateResult.Success(new
AuthenticationTicket
(new ClaimsPrincipal(id), Scheme.Name));
Authentication\UnsecuredAuthenticationHandler.cs (1)
24
return Task.FromResult(AuthenticateResult.Success(new
AuthenticationTicket
(new ClaimsPrincipal(id), Scheme.Name)));
Mcp\McpCompositeAuthenticationHandler.cs (1)
36
return AuthenticateResult.Success(new
AuthenticationTicket
(new ClaimsPrincipal(id), Scheme.Name));
Aspire.Hosting (1)
Dashboard\DashboardServiceAuth.cs (1)
59
new
AuthenticationTicket
(
Microsoft.AspNetCore.Authorization.Policy (2)
PolicyEvaluator.cs (2)
57
var ticket = new
AuthenticationTicket
(newPrincipal, string.Join(';', policy.AuthenticationSchemes));
76
? AuthenticateResult.Success(new
AuthenticationTicket
(context.User, "context.User"))
Microsoft.AspNetCore.Server.IISIntegration (1)
AuthenticationHandler.cs (1)
23
return Task.FromResult(AuthenticateResult.Success(new
AuthenticationTicket
(_user, _scheme.Name)));