1 type derived from AuthenticateResult
Microsoft.AspNetCore.Authentication (1)
4 instantiations of AuthenticateResult
Microsoft.AspNetCore.Authentication.Abstractions (4)
307 references to AuthenticateResult
Aspire.Dashboard (25)
Aspire.Dashboard.Tests (4)
Aspire.Hosting (5)
BasicWebSite (3)
CookieSample (1)
CustomAuthorizationFailureResponse (2)
DynamicSchemes (1)
Identity.DefaultUI.WebSite (2)
JwtBearerSample (1)
Microsoft.AspNetCore.Authentication (24)
Microsoft.AspNetCore.Authentication.Abstractions (18)
Microsoft.AspNetCore.Authentication.BearerToken (7)
Microsoft.AspNetCore.Authentication.Certificate (27)
Microsoft.AspNetCore.Authentication.Cookies (18)
Microsoft.AspNetCore.Authentication.Core (4)
Microsoft.AspNetCore.Authentication.Core.Test (12)
Microsoft.AspNetCore.Authentication.JwtBearer (9)
Microsoft.AspNetCore.Authentication.Negotiate (4)
Microsoft.AspNetCore.Authentication.Negotiate.Test (1)
Microsoft.AspNetCore.Authentication.Test (40)
Microsoft.AspNetCore.Authorization.Policy (19)
Microsoft.AspNetCore.Authorization.Test (28)
PolicyEvaluatorTests.cs (13)
24var result = await evaluator.AuthenticateAsync(policy, context);
41var result = await evaluator.AuthenticateAsync(policy, context);
60var result = await evaluator.AuthenticateAsync(policy, context);
77var result = await evaluator.AuthorizeAsync(policy, AuthenticateResult.Fail("Nooo"), context, resource: null);
92var success = AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(), "whatever"));
112var result = await evaluator.AuthorizeAsync(policy, AuthenticateResult.Fail("Nooo"), context, resource: null);
129var result = await evaluator.AuthorizeAsync(policy, AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(), "scheme")), context, resource: null);
149var result = await evaluator.AuthorizeAsync(policy, AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(), "scheme")), context, resource: null);
189public Task<AuthenticateResult> AuthenticateAsync(HttpContext context, string scheme)
190=> Task.FromResult(AuthenticateResult.Fail("Sad."));
209public Task<AuthenticateResult> AuthenticateAsync(HttpContext context, string scheme)
212return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(Principal, scheme)));
Microsoft.AspNetCore.Identity (5)
Microsoft.AspNetCore.Identity.InMemory.Test (5)
Microsoft.AspNetCore.Identity.Test (19)
SignInManagerTest.cs (18)
217.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), null, IdentityConstants.TwoFactorRememberMeScheme))).Verifiable();
376.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(id, null, IdentityConstants.TwoFactorUserIdScheme))).Verifiable();
417.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(id, null, IdentityConstants.TwoFactorUserIdScheme))).Verifiable();
456.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(id, null, IdentityConstants.TwoFactorUserIdScheme))).Verifiable();
546.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(id, null, IdentityConstants.TwoFactorUserIdScheme))).Verifiable();
615var authResult = AuthenticateResult.NoResult();
701.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(id, null, IdentityConstants.TwoFactorUserIdScheme))).Verifiable();
736.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(id, null, IdentityConstants.TwoFactorUserIdScheme))).Verifiable();
793.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(id), null, IdentityConstants.TwoFactorRememberMeScheme))).Verifiable();
1041var authResult = AuthenticateResult.Success(new AuthenticationTicket(principal, properties, "blah"));
1072var authResult = AuthenticateResult.Success(new AuthenticationTicket(principal, properties, "blah"));
1104var authResult = AuthenticateResult.Success(new AuthenticationTicket(principal, properties, "blah"));
1202.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(id, null, IdentityConstants.TwoFactorUserIdScheme))).Verifiable();
1268.ReturnsAsync(AuthenticateResult.Success(new AuthenticationTicket(id, null, IdentityConstants.TwoFactorUserIdScheme))).Verifiable();
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Microsoft.AspNetCore.Server.HttpSys (3)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Microsoft.AspNetCore.Server.IIS (3)
Microsoft.AspNetCore.Server.IISIntegration (3)
Microsoft.AspNetCore.Tests (2)
OpenIdConnectSample (1)
PathSchemeSelection (2)
SecurityWebSite (1)
SocialSample (1)