1 type derived from AuthenticationProperties
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthChallengeProperties.cs (1)
9public class OAuthChallengeProperties : AuthenticationProperties
25 instantiations of AuthenticationProperties
Aspire.Dashboard (2)
Authentication\FrontendCompositeAuthenticationHandler.cs (1)
26new AuthenticationProperties(
Model\ValidateTokenMiddleware.cs (1)
101new AuthenticationProperties { IsPersistent = true }).ConfigureAwait(false);
Keycloak.Web (2)
LoginLogoutEndpointRouteBuilderExtensions.cs (2)
13group.MapGet("/login", () => TypedResults.Challenge(new AuthenticationProperties { RedirectUri = "/" })) 16group.MapPost("/logout", () => TypedResults.SignOut(new AuthenticationProperties { RedirectUri = "/" },
Microsoft.AspNetCore.Authentication (8)
AuthenticationHandler.cs (2)
315properties ??= new AuthenticationProperties(); 330properties ??= new AuthenticationProperties();
Events\PropertiesContext.cs (1)
23Properties = properties ?? new AuthenticationProperties();
Events\RemoteAuthenticationContext.cs (1)
27=> Properties = properties ?? new AuthenticationProperties();
Events\ResultContext.cs (1)
37_properties ??= new AuthenticationProperties();
PropertiesSerializer.cs (1)
79return new AuthenticationProperties(extra);
SignInAuthenticationHandler.cs (1)
43: HandleSignInAsync(user, properties ?? new AuthenticationProperties());
SignOutAuthenticationHandler.cs (1)
42: HandleSignOutAsync(properties ?? new AuthenticationProperties());
Microsoft.AspNetCore.Authentication.Abstractions (2)
AuthenticationProperties.cs (1)
53=> new AuthenticationProperties(
AuthenticationTicket.cs (1)
25Properties = properties ?? new AuthenticationProperties();
Microsoft.AspNetCore.Authentication.BearerToken (2)
BearerTokenHandler.cs (2)
68properties ??= new(); 108var refreshProperties = new AuthenticationProperties
Microsoft.AspNetCore.Authentication.Cookies (3)
CookieAuthenticationHandler.cs (3)
141var newProperties = new AuthenticationProperties(); 295properties = properties ?? new AuthenticationProperties(); 383properties = properties ?? new AuthenticationProperties();
Microsoft.AspNetCore.Identity (6)
SignInManager.cs (6)
239=> SignInAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, authenticationMethod); 268=> SignInWithClaimsAsync(user, new AuthenticationProperties { IsPersistent = isPersistent }, additionalClaims); 287authenticationProperties ??= new AuthenticationProperties(); 701var props = new AuthenticationProperties(); 771new AuthenticationProperties { IsPersistent = true }); 1162var properties = new AuthenticationProperties { RedirectUri = redirectUrl };
293 references to AuthenticationProperties
Aspire.Dashboard (2)
Api\ApiAuthenticationHandler.cs (1)
109protected override Task HandleChallengeAsync(AuthenticationProperties properties)
Authentication\FrontendCompositeAuthenticationHandler.cs (1)
35protected override async Task HandleChallengeAsync(AuthenticationProperties properties)
Microsoft.AspNetCore.Authentication (45)
AuthenticationHandler.cs (4)
286protected virtual Task HandleForbiddenAsync(AuthenticationProperties properties) 299protected virtual Task HandleChallengeAsync(AuthenticationProperties properties) 306public async Task ChallengeAsync(AuthenticationProperties? properties) 321public async Task ForbidAsync(AuthenticationProperties? properties)
Events\AccessDeniedContext.cs (1)
36public AuthenticationProperties? Properties { get; set; }
Events\PrincipalContext.cs (1)
21protected PrincipalContext(HttpContext context, AuthenticationScheme scheme, TOptions options, AuthenticationProperties? properties)
Events\PropertiesContext.cs (4)
9/// Base context for authentication events which contain <see cref="AuthenticationProperties"/>. 20protected PropertiesContext(HttpContext context, AuthenticationScheme scheme, TOptions options, AuthenticationProperties? properties) 27/// Gets or sets the <see cref="AuthenticationProperties"/>. 29public virtual AuthenticationProperties Properties { get; protected set; }
Events\RedirectContext.cs (2)
20/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 25AuthenticationProperties properties,
Events\RemoteAuthenticationContext.cs (3)
25AuthenticationProperties? properties) 35/// Gets or sets the <see cref="AuthenticationProperties"/>. 37public virtual AuthenticationProperties? Properties { get; set; }
Events\RemoteFailureContext.cs (1)
38public AuthenticationProperties? Properties { get; set; }
Events\ResultContext.cs (3)
14private AuthenticationProperties? _properties; 31/// Gets or sets the <see cref="AuthenticationProperties"/>. 33public AuthenticationProperties Properties
HandleRequestResult.cs (2)
54public static new HandleRequestResult Fail(Exception failure, AuthenticationProperties? properties) 73public static new HandleRequestResult Fail(string failureMessage, AuthenticationProperties? properties)
PolicySchemeHandler.cs (4)
37protected override Task HandleChallengeAsync(AuthenticationProperties? properties) 41protected override Task HandleForbiddenAsync(AuthenticationProperties? properties) 45protected override Task HandleSignInAsync(ClaimsPrincipal user, AuthenticationProperties? properties) 49protected override Task HandleSignOutAsync(AuthenticationProperties? properties)
PropertiesDataFormat.cs (2)
10/// <see cref="AuthenticationProperties"/>. 12public class PropertiesDataFormat : SecureDataFormat<AuthenticationProperties>
PropertiesSerializer.cs (6)
7/// A <see cref="IDataSerializer{TModel}"/> for <see cref="AuthenticationProperties"/>. 9public class PropertiesSerializer : IDataSerializer<AuthenticationProperties> 19public virtual byte[] Serialize(AuthenticationProperties model) 33public virtual AuthenticationProperties? Deserialize(byte[] data) 45public virtual void Write(BinaryWriter writer, AuthenticationProperties properties) 61public virtual AuthenticationProperties? Read(BinaryReader reader)
RemoteAuthenticationHandler.cs (6)
84AuthenticationProperties? properties = null; 219protected override Task HandleForbiddenAsync(AuthenticationProperties properties) 226protected virtual void GenerateCorrelationId(AuthenticationProperties properties) 248protected virtual bool ValidateCorrelationId(AuthenticationProperties properties) 285/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 287protected virtual async Task<HandleRequestResult> HandleAccessDeniedErrorAsync(AuthenticationProperties properties)
RemoteAuthenticationOptions.cs (1)
130/// <see cref="AuthenticationProperties"/> after a successful authorization.
SignInAuthenticationHandler.cs (2)
38public virtual Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties? properties) 52protected abstract Task HandleSignInAsync(ClaimsPrincipal user, AuthenticationProperties? properties);
SignOutAuthenticationHandler.cs (2)
37public virtual Task SignOutAsync(AuthenticationProperties? properties) 49protected abstract Task HandleSignOutAsync(AuthenticationProperties? properties);
TicketSerializer.cs (1)
183var properties = PropertiesSerializer.Default.Read(reader);
Microsoft.AspNetCore.Authentication.Abstractions (62)
AuthenticateResult.cs (3)
40public AuthenticationProperties? Properties { get; protected set; } 110public static AuthenticateResult Fail(Exception failure, AuthenticationProperties? properties) 129public static AuthenticateResult Fail(string failureMessage, AuthenticationProperties? properties)
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) =>
AuthenticationOptions.cs (4)
74/// Used as the default scheme by <see cref="IAuthenticationService.SignInAsync(HttpContext, string, System.Security.Claims.ClaimsPrincipal, AuthenticationProperties)"/>. 79/// Used as the default scheme by <see cref="IAuthenticationService.SignOutAsync(HttpContext, string, AuthenticationProperties)"/>. 84/// Used as the default scheme by <see cref="IAuthenticationService.ChallengeAsync(HttpContext, string, AuthenticationProperties)"/>. 89/// Used as the default scheme by <see cref="IAuthenticationService.ForbidAsync(HttpContext, string, AuthenticationProperties)"/>.
AuthenticationProperties.cs (4)
22/// Initializes a new instance of the <see cref="AuthenticationProperties"/> class. 29/// Initializes a new instance of the <see cref="AuthenticationProperties"/> class. 38/// Initializes a new instance of the <see cref="AuthenticationProperties"/> class. 52public AuthenticationProperties Clone()
AuthenticationTicket.cs (2)
19public AuthenticationTicket(ClaimsPrincipal principal, AuthenticationProperties? properties, string authenticationScheme) 50public AuthenticationProperties Properties { get; }
IAuthenticationHandler.cs (4)
29/// <param name="properties">The <see cref="AuthenticationProperties"/> that contains the extra meta-data arriving with the authentication.</param> 30Task ChallengeAsync(AuthenticationProperties? properties); 35/// <param name="properties">The <see cref="AuthenticationProperties"/> that contains the extra meta-data arriving with the authentication.</param> 36Task ForbidAsync(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>
IAuthenticationService.cs (8)
28/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 30Task ChallengeAsync(HttpContext context, string? scheme, AuthenticationProperties? properties); 38/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 40Task ForbidAsync(HttpContext context, string? scheme, AuthenticationProperties? properties); 48/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 50Task SignInAsync(HttpContext context, string? scheme, ClaimsPrincipal principal, AuthenticationProperties? properties); 57/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 59Task SignOutAsync(HttpContext context, string? scheme, AuthenticationProperties? properties);
IAuthenticationSignInHandler.cs (2)
17/// <param name="properties">The <see cref="AuthenticationProperties"/> that contains the extra meta-data arriving with the authentication.</param> 19Task SignInAsync(ClaimsPrincipal user, AuthenticationProperties? properties);
IAuthenticationSignOutHandler.cs (2)
14/// <param name="properties">The <see cref="AuthenticationProperties"/> that contains the extra meta-data arriving with the authentication.</param> 16Task SignOutAsync(AuthenticationProperties? properties);
TokenExtensions.cs (9)
9/// Extension methods for storing authentication tokens in <see cref="AuthenticationProperties"/>. 19/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param> 21public static void StoreTokens(this AuthenticationProperties properties, IEnumerable<AuthenticationToken> tokens) 56/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param> 59public static string? GetTokenValue(this AuthenticationProperties properties, string tokenName) 72/// <param name="properties">The <see cref="AuthenticationProperties"/> to update.</param> 76public static bool UpdateTokenValue(this AuthenticationProperties properties, string tokenName, string? tokenValue) 93/// <param name="properties">The <see cref="AuthenticationProperties"/> properties.</param> 95public static IEnumerable<AuthenticationToken> GetTokens(this AuthenticationProperties properties)
Microsoft.AspNetCore.Authentication.BearerToken (5)
BearerTokenHandler.cs (5)
58protected override Task HandleChallengeAsync(AuthenticationProperties properties) 64protected override async Task HandleSignInAsync(ClaimsPrincipal user, AuthenticationProperties? properties) 92protected override Task HandleSignOutAsync(AuthenticationProperties? properties) => Task.CompletedTask; 103private AuthenticationTicket CreateBearerTicket(ClaimsPrincipal user, AuthenticationProperties properties) 108var refreshProperties = new AuthenticationProperties
Microsoft.AspNetCore.Authentication.Cookies (10)
CookieAuthenticationHandler.cs (7)
141var newProperties = new AuthenticationProperties(); 250var properties = ticket.Properties; 291protected override async Task HandleSignInAsync(ClaimsPrincipal user, AuthenticationProperties? properties) 381protected override async Task HandleSignOutAsync(AuthenticationProperties? properties) 416private async Task ApplyHeaders(bool shouldRedirect, bool shouldHonorReturnUrlParameter, AuthenticationProperties properties) 462protected override async Task HandleForbiddenAsync(AuthenticationProperties properties) 475protected override async Task HandleChallengeAsync(AuthenticationProperties properties)
CookieSignedInContext.cs (1)
26AuthenticationProperties? properties,
CookieSigningInContext.cs (1)
28AuthenticationProperties? properties,
CookieSigningOutContext.cs (1)
25AuthenticationProperties? properties,
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>
AuthenticationService.cs (8)
106/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 108public virtual async Task ChallengeAsync(HttpContext context, string? scheme, AuthenticationProperties? properties) 129/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 131public virtual async Task ForbidAsync(HttpContext context, string? scheme, AuthenticationProperties? properties) 153/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 155public virtual async Task SignInAsync(HttpContext context, string? scheme, ClaimsPrincipal principal, AuthenticationProperties? properties) 195/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 197public virtual async Task SignOutAsync(HttpContext context, string? scheme, AuthenticationProperties? properties)
AuthenticationServiceImpl.cs (4)
37public override async Task ChallengeAsync(HttpContext context, string? scheme, AuthenticationProperties? properties) 52public override async Task ForbidAsync(HttpContext context, string? scheme, AuthenticationProperties? properties) 67public override async Task SignInAsync(HttpContext context, string? scheme, ClaimsPrincipal principal, AuthenticationProperties? properties) 82public override async Task SignOutAsync(HttpContext context, string? scheme, AuthenticationProperties? properties)
Microsoft.AspNetCore.Authentication.OAuth (14)
Events\OAuthCreatingTicketContext.cs (2)
21/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 30AuthenticationProperties properties,
Events\OAuthEvents.cs (1)
35/// <param name="context">Contains redirect URI and <see cref="AuthenticationProperties"/> of the challenge.</param>
OAuthChallengeProperties.cs (1)
7/// <see cref="AuthenticationProperties"/> for an OAuth challenge.
OAuthCodeExchangeContext.cs (3)
14/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 17public OAuthCodeExchangeContext(AuthenticationProperties properties, string code, string redirectUri) 27public AuthenticationProperties Properties { get; }
OAuthHandler.cs (6)
69var properties = Options.StateDataFormat.Unprotect(state); 249/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 252protected virtual async Task<AuthenticationTicket> CreateTicketAsync(ClaimsIdentity identity, AuthenticationProperties properties, OAuthTokenResponse tokens) 263protected override async Task HandleChallengeAsync(AuthenticationProperties properties) 297/// <param name="properties">The <see cref="AuthenticationProperties"/>.</param> 300protected virtual string BuildChallengeUrl(AuthenticationProperties properties, string redirectUri)
OAuthOptions.cs (1)
99public ISecureDataFormat<AuthenticationProperties> StateDataFormat { get; set; } = default!;
Microsoft.AspNetCore.Http.Connections (1)
HttpConnectionDispatcherOptions.cs (1)
119/// Authenticated connections whose token sets the <see cref="AuthenticationProperties.ExpiresUtc"/> value will be closed
Microsoft.AspNetCore.Http.Results (48)
ChallengeHttpResult.cs (6)
39/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 41internal ChallengeHttpResult(string authenticationScheme, AuthenticationProperties? properties) 51/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 53internal ChallengeHttpResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 65/// Gets the <see cref="AuthenticationProperties"/> used to perform the sign-out operation. 67public AuthenticationProperties? Properties { get; internal init; }
ForbidHttpResult.cs (8)
38/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 40internal ForbidHttpResult(AuthenticationProperties? properties) 50/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 52internal ForbidHttpResult(string authenticationScheme, AuthenticationProperties? properties) 62/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 64internal ForbidHttpResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 76/// Gets the <see cref="AuthenticationProperties"/> used to perform the authentication challenge. 78public AuthenticationProperties? Properties { get; internal init; }
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)
SignInHttpResult.cs (4)
32/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param> 33internal SignInHttpResult(ClaimsPrincipal principal, string? authenticationScheme, AuthenticationProperties? properties) 51/// Gets or sets the <see cref="AuthenticationProperties"/> used to perform the sign-in operation. 53public AuthenticationProperties? Properties { get; internal init; }
SignOutHttpResult.cs (6)
39/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 40internal SignOutHttpResult(string authenticationScheme, AuthenticationProperties? properties) 50/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 51internal SignOutHttpResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 65/// Gets the <see cref="AuthenticationProperties"/> used to perform the sign-out operation. 67public AuthenticationProperties? Properties { get; internal init; }
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)
ExternalLoginInfo.cs (2)
39/// The <see cref="Authentication.AuthenticationProperties"/> associated with this login. 41public AuthenticationProperties? AuthenticationProperties { get; set; }
IdentityServiceCollectionExtensions.cs (2)
208protected override Task HandleSignInAsync(ClaimsPrincipal user, AuthenticationProperties? properties) 213protected override Task HandleSignOutAsync(AuthenticationProperties? properties)
ISecurityStampValidator.cs (1)
20/// and <see cref="AuthenticationProperties"/> to validate.</param>
SecurityStampValidator.cs (3)
134/// and <see cref="AuthenticationProperties"/> to validate.</param> 176/// and <see cref="AuthenticationProperties"/> to validate.</param> 187/// and <see cref="AuthenticationProperties"/> to validate.</param>
SignInManager.cs (6)
249public virtual Task SignInAsync(TUser user, AuthenticationProperties authenticationProperties, string? authenticationMethod = null) 277public virtual async Task SignInWithClaimsAsync(TUser user, AuthenticationProperties? authenticationProperties, IEnumerable<Claim> additionalClaims) 701var props = new AuthenticationProperties(); 1159/// <returns>A configured <see cref="AuthenticationProperties"/>.</returns> 1160public virtual AuthenticationProperties ConfigureExternalAuthenticationProperties(string? provider, [StringSyntax(StringSyntaxAttribute.Uri)] string? redirectUrl, string? userId = null) 1162var properties = new AuthenticationProperties { RedirectUri = redirectUrl };
Microsoft.AspNetCore.Mvc.Core (46)
ChallengeResult.cs (8)
48/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 50public ChallengeResult(AuthenticationProperties? properties) 60/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 62public ChallengeResult(string authenticationScheme, AuthenticationProperties? properties) 72/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 74public ChallengeResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 86/// Gets or sets the <see cref="AuthenticationProperties"/> used to perform the authentication challenge. 88public AuthenticationProperties? Properties { get; set; }
ControllerBase.cs (16)
2346/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 2355public virtual ChallengeResult Challenge(AuthenticationProperties properties) 2362/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 2373AuthenticationProperties properties, 2407/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 2415public virtual ForbidResult Forbid(AuthenticationProperties properties) 2422/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 2431public virtual ForbidResult Forbid(AuthenticationProperties properties, params string[] authenticationSchemes) 2457/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param> 2462AuthenticationProperties properties) 2470/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param> 2476AuthenticationProperties properties, 2491/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 2494public virtual SignOutResult SignOut(AuthenticationProperties properties) 2510/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 2514public virtual SignOutResult SignOut(AuthenticationProperties properties, params string[] authenticationSchemes)
ForbidResult.cs (8)
48/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 50public ForbidResult(AuthenticationProperties? properties) 60/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 62public ForbidResult(string authenticationScheme, AuthenticationProperties? properties) 72/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 74public ForbidResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 86/// Gets or sets the <see cref="AuthenticationProperties"/> used to perform the authentication challenge. 88public AuthenticationProperties? Properties { get; set; }
SignInResult.cs (6)
42/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param> 43public SignInResult(ClaimsPrincipal principal, AuthenticationProperties? properties) 54/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param> 55public SignInResult(string? authenticationScheme, ClaimsPrincipal principal, AuthenticationProperties? properties) 73/// Gets or sets the <see cref="AuthenticationProperties"/> used to perform the sign-in operation. 75public AuthenticationProperties? Properties { get; set; }
SignOutResult.cs (8)
30/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 31public SignOutResult(AuthenticationProperties properties) 61/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 62public SignOutResult(string authenticationScheme, AuthenticationProperties? properties) 72/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 73public SignOutResult(IList<string> authenticationSchemes, AuthenticationProperties? properties) 85/// Gets or sets the <see cref="AuthenticationProperties"/> used to perform the sign-out operation. 87public AuthenticationProperties? Properties { get; set; }
Microsoft.AspNetCore.Mvc.RazorPages (24)
PageBase.cs (12)
178/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 186public virtual ChallengeResult Challenge(AuthenticationProperties properties) 193/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 203AuthenticationProperties properties, 289/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 296public virtual ForbidResult Forbid(AuthenticationProperties properties) 303/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 311public virtual ForbidResult Forbid(AuthenticationProperties properties, params string[] authenticationSchemes) 1114/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param> 1119AuthenticationProperties properties, 1135/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 1138public virtual SignOutResult SignOut(AuthenticationProperties properties, params string[] authenticationSchemes)
PageModel.cs (12)
510/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 518public virtual ChallengeResult Challenge(AuthenticationProperties properties) 525/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 535AuthenticationProperties properties, 621/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 628public virtual ForbidResult Forbid(AuthenticationProperties properties) 635/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the authentication 643public virtual ForbidResult Forbid(AuthenticationProperties properties, params string[] authenticationSchemes) 1466/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-in operation.</param> 1471AuthenticationProperties properties, 1487/// <param name="properties"><see cref="AuthenticationProperties"/> used to perform the sign-out operation.</param> 1490public virtual SignOutResult SignOut(AuthenticationProperties properties, params string[] authenticationSchemes)
Microsoft.AspNetCore.Server.IISIntegration (2)
AuthenticationHandler.cs (2)
31public Task ChallengeAsync(AuthenticationProperties? properties) 40public Task ForbidAsync(AuthenticationProperties? properties)