21 references to Success
Aspire.Dashboard (9)
Api\ApiAuthenticationHandler.cs (3)
43return AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name)); 76return AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name)); 84return AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name));
Authentication\AspirePolicyEvaluator.cs (3)
37/// <returns><see cref="AuthenticateResult.Success"/> unless all schemes specified by <see cref="AuthorizationPolicy.AuthenticationSchemes"/> failed to authenticate.</returns> 72return AuthenticateResult.Success(ticket); 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)));
Mcp\McpCompositeAuthenticationHandler.cs (1)
36return AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), Scheme.Name));
Aspire.Hosting (1)
Dashboard\DashboardServiceAuth.cs (1)
58AuthenticateResult.Success(
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
208return AuthenticateResult.Success(new AuthenticationTicket(ticket.Principal,
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticateResult.cs (1)
68return Success(Ticket!.Clone());
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenHandler.cs (1)
55return AuthenticateResult.Success(ticket);
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
196return AuthenticateResult.Success(ticket); 226return AuthenticateResult.Success(new AuthenticationTicket(context.Principal, context.Properties, Scheme.Name));
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
95return AuthenticateResult.Success(new AuthenticationTicket(principal, result.Properties, result.Ticket!.AuthenticationScheme));
Microsoft.AspNetCore.Authorization.Policy (4)
IPolicyEvaluator.cs (1)
21/// <returns><see cref="AuthenticateResult.Success"/> unless all schemes specified by <see cref="AuthorizationPolicy.AuthenticationSchemes"/> fail to authenticate. </returns>
PolicyEvaluator.cs (3)
33/// <returns><see cref="AuthenticateResult.Success"/> unless all schemes specified by <see cref="AuthorizationPolicy.AuthenticationSchemes"/> failed to authenticate. </returns> 61return AuthenticateResult.Success(ticket); 76? AuthenticateResult.Success(new AuthenticationTicket(context.User, "context.User"))
Microsoft.AspNetCore.Server.IISIntegration (1)
AuthenticationHandler.cs (1)
23return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(_user, _scheme.Name)));