15 references to AuthenticationTicket
Microsoft.AspNetCore.Authentication (4)
Events\RemoteAuthenticationContext.cs (1)
42public void Success() => Result = HandleRequestResult.Success(new AuthenticationTicket(Principal!, Properties, Scheme.Name));
Events\ResultContext.cs (1)
51public void Success() => Result = HandleRequestResult.Success(new AuthenticationTicket(Principal!, Properties, Scheme.Name));
RemoteAuthenticationHandler.cs (1)
208return AuthenticateResult.Success(new AuthenticationTicket(ticket.Principal,
TicketSerializer.cs (1)
185return new AuthenticationTicket(new ClaimsPrincipal(identities), properties, scheme);
Microsoft.AspNetCore.Authentication.Abstractions (2)
AuthenticationTicket.cs (2)
34: this(principal, properties: null, authenticationScheme: authenticationScheme) 66return new AuthenticationTicket(principal, Properties.Clone(), AuthenticationScheme);
Microsoft.AspNetCore.Authentication.BearerToken (2)
BearerTokenHandler.cs (2)
104=> new(user, properties, $"{Scheme.Name}:AccessToken"); 113return new AuthenticationTicket(user, refreshProperties, $"{Scheme.Name}:RefreshToken");
Microsoft.AspNetCore.Authentication.Cookies (5)
CookieAuthenticationHandler.cs (5)
147return new AuthenticationTicket(newPrincipal, newProperties, ticket.AuthenticationScheme); 226return AuthenticateResult.Success(new AuthenticationTicket(context.Principal, context.Properties, Scheme.Name)); 269ticket = new AuthenticationTicket(principal, null, Scheme.Name); 335var ticket = new AuthenticationTicket(signInContext.Principal!, signInContext.Properties, signInContext.Scheme.Name); 353ticket = new AuthenticationTicket(principal, null, Scheme.Name);
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationService.cs (1)
95return AuthenticateResult.Success(new AuthenticationTicket(principal, result.Properties, result.Ticket!.AuthenticationScheme));
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
258return new AuthenticationTicket(context.Principal!, context.Properties, Scheme.Name);