1 type derived from AuthenticationProperties
Microsoft.AspNetCore.Authentication.OAuth (1)
25 instantiations of AuthenticationProperties
Aspire.Dashboard (2)
Keycloak.Web (2)
Microsoft.AspNetCore.Authentication (8)
Microsoft.AspNetCore.Authentication.Abstractions (2)
Microsoft.AspNetCore.Authentication.BearerToken (2)
Microsoft.AspNetCore.Authentication.Cookies (3)
Microsoft.AspNetCore.Identity (6)
293 references to AuthenticationProperties
Aspire.Dashboard (2)
Microsoft.AspNetCore.Authentication (45)
Microsoft.AspNetCore.Authentication.Abstractions (62)
AuthenticationHttpContextExtensions.cs (16)
60/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param>
62public static Task ChallengeAsync(this HttpContext context, AuthenticationProperties? properties) =>
71/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param>
73public static Task ChallengeAsync(this HttpContext context, string? scheme, AuthenticationProperties? properties) =>
102/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param>
104public static Task ForbidAsync(this HttpContext context, AuthenticationProperties? properties) =>
113/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param>
115public static Task ForbidAsync(this HttpContext context, string? scheme, AuthenticationProperties? properties) =>
144/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param>
146public static Task SignInAsync(this HttpContext context, ClaimsPrincipal principal, AuthenticationProperties? properties) =>
155/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param>
157public static Task SignInAsync(this HttpContext context, string? scheme, ClaimsPrincipal principal, AuthenticationProperties? properties) =>
173/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param>
175public static Task SignOutAsync(this HttpContext context, AuthenticationProperties? properties) => context.SignOutAsync(scheme: null, properties: properties);
190/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param>
192public static Task SignOutAsync(this HttpContext context, string? scheme, AuthenticationProperties? properties) =>
IAuthenticationSchemeProvider.cs (8)
35/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.
39/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
43/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.
47/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
51/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.
55/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.</returns>
59/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.
63/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
Microsoft.AspNetCore.Authentication.BearerToken (5)
Microsoft.AspNetCore.Authentication.Cookies (10)
Microsoft.AspNetCore.Authentication.Core (20)
AuthenticationSchemeProvider.cs (8)
74/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.
78/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
85/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.
89/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
96/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.
100/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>.</returns>
107/// Returns the scheme that will be used by default for <see cref="IAuthenticationService.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.
111/// <returns>The scheme that will be used by default for <see cref="IAuthenticationService.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>.</returns>
Microsoft.AspNetCore.Authentication.OAuth (14)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Results (48)
Results.cs (12)
28/// Creates an <see cref="IResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.ChallengeAsync(HttpContext, string?, AuthenticationProperties?)" />.
35/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication
40AuthenticationProperties? properties = null,
45/// Creates a <see cref="IResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.ForbidAsync(HttpContext, string?, AuthenticationProperties?)"/>.
51/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication
59public static IResult Forbid(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null)
63/// Creates an <see cref="IResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.SignInAsync(HttpContext, string?, ClaimsPrincipal, AuthenticationProperties?)" />.
66/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param>
71AuthenticationProperties? properties = null,
76/// Creates an <see cref="IResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.SignOutAsync(HttpContext, string?, AuthenticationProperties?)" />.
78/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param>
81public static IResult SignOut(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null)
TypedResults.cs (12)
28/// Creates a <see cref="ChallengeHttpResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.ChallengeAsync(HttpContext, string?, AuthenticationProperties?)" />.
35/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication
40AuthenticationProperties? properties = null,
45/// Creates a <see cref="ForbidHttpResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.ForbidAsync(HttpContext, string?, AuthenticationProperties?)"/>.
55/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication
59public static ForbidHttpResult Forbid(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null)
63/// Creates a <see cref="SignInHttpResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.SignInAsync(HttpContext, string?, ClaimsPrincipal, AuthenticationProperties?)" />.
66/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param>
71AuthenticationProperties? properties = null,
80/// Creates a <see cref="SignOutHttpResult"/> that on execution invokes <see cref="AuthenticationHttpContextExtensions.SignOutAsync(HttpContext, string?, AuthenticationProperties?)" />.
82/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param>
85public static SignOutHttpResult SignOut(AuthenticationProperties? properties = null, IList<string>? authenticationSchemes = null)
Microsoft.AspNetCore.Identity (14)
Microsoft.AspNetCore.Mvc.Core (46)
Microsoft.AspNetCore.Mvc.RazorPages (24)
Microsoft.AspNetCore.Server.IISIntegration (2)