27 references to Succeeded
Aspire.Dashboard (3)
Authentication\AspirePolicyEvaluator.cs (3)
49if (result.Succeeded) 103/// Otherwise returns <see cref="PolicyAuthorizationResult.Forbid(AuthorizationFailure)"/> if <see cref="AuthenticateResult.Succeeded"/>, otherwise 121return (authenticationResult.Succeeded)
CookieSample (1)
Program.cs (1)
58if (!ticket.Succeeded)
JwtBearerSample (1)
Startup.cs (1)
52if (authResult.Succeeded && authResult.Principal.Identity.IsAuthenticated)
Microsoft.AspNetCore.Authentication (2)
AuthenticationMiddleware.cs (1)
67if (result?.Succeeded ?? false)
RemoteAuthenticationHandler.cs (1)
100else if (!authResult.Succeeded)
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticateResult.cs (1)
66if (Succeeded)
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
203if (!result.Succeeded)
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
80if (result.Succeeded)
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMiddlewareTests.cs (3)
79Assert.True(authenticateResultFeature.AuthenticateResult.Succeeded); 122Assert.True(authenticateResultFeature.AuthenticateResult.Succeeded); 148Assert.True(authenticateResultFeature.AuthenticateResult.Succeeded);
CertificateTests.cs (1)
825if (authenticationResult.Succeeded)
Microsoft.AspNetCore.Authorization.Policy (6)
AuthorizationMiddleware.cs (2)
157if (authenticateResult?.Succeeded ?? false) 178if (authenticateResult != null && !authenticateResult.Succeeded && _logger is ILogger log && log.IsEnabled(LogLevel.Debug))
IPolicyEvaluator.cs (1)
35/// Otherwise returns <see cref="PolicyAuthorizationResult.Forbid(AuthorizationFailure)"/> if <see cref="AuthenticateResult.Succeeded"/>, otherwise
PolicyEvaluator.cs (3)
43if (result != null && result.Succeeded) 92/// Otherwise returns <see cref="PolicyAuthorizationResult.Forbid(AuthorizationFailure)"/> if <see cref="AuthenticateResult.Succeeded"/>, otherwise 105return (authenticationResult.Succeeded)
Microsoft.AspNetCore.Authorization.Test (3)
PolicyEvaluatorTests.cs (3)
27Assert.False(result.Succeeded); 44Assert.True(result.Succeeded); 63Assert.True(result.Succeeded);
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
356res.StatusCode = result.Succeeded ? 200 : 500;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
AuthenticationTests.cs (2)
209Assert.False(authResults.Succeeded); 233Assert.True(authResults.Succeeded);
SocialSample (1)
Startup.cs (1)
291if (!userResult.Succeeded || user == null || !user.Identities.Any(identity => identity.IsAuthenticated))