27 references to AuthenticationTicket
Aspire.Dashboard (3)
CustomAuthorizationFailureResponse (1)
Microsoft.AspNetCore.Authentication.Test (4)
Microsoft.AspNetCore.Authorization.Policy (2)
Microsoft.AspNetCore.Authorization.Test (11)
PolicyEvaluatorTests.cs (4)
92var success = AuthenticateResult.Success(new AuthenticationTicket(new ClaimsPrincipal(), "whatever"));
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);
212return Task.FromResult(AuthenticateResult.Success(new AuthenticationTicket(Principal, scheme)));
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.IISIntegration (1)
Microsoft.AspNetCore.Tests (1)
PathSchemeSelection (1)