4 instantiations of AuthenticationOptions
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Utilities.cs (2)
115=> new MessagePump(Options.Create(new HttpSysOptions()), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions()))); 121return new MessagePump(Options.Create(options), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions())));
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (2)
Utilities.cs (2)
34=> new MessagePump(Options.Create(new HttpSysOptions()), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions()))); 40return new MessagePump(Options.Create(options), loggerFactory ?? new LoggerFactory(), new AuthenticationSchemeProvider(Options.Create(new AuthenticationOptions())));
46 references to AuthenticationOptions
Microsoft.AspNetCore.Authentication (7)
AuthenticationBuilder.cs (3)
34Services.Configure<AuthenticationOptions>(o => 115private readonly AuthenticationOptions _authOptions; 117public EnsureSignInScheme(IOptions<AuthenticationOptions> authOptions)
AuthenticationServiceCollectionExtensions.cs (3)
46/// Registers services required by authentication services and configures <see cref="AuthenticationOptions"/>. 49/// <param name="configureOptions">A delegate to configure <see cref="AuthenticationOptions"/>.</param> 51public static AuthenticationBuilder AddAuthentication(this IServiceCollection services, Action<AuthenticationOptions> configureOptions)
RemoteAuthenticationOptions.cs (1)
110/// When omitted, <see cref="AuthenticationOptions.DefaultSignInScheme"/> is used as a fallback value.
Microsoft.AspNetCore.Authentication.Abstractions (18)
AuthenticationHttpContextExtensions.cs (10)
18/// The default authentication scheme can be configured using <see cref="AuthenticationOptions.DefaultAuthenticateScheme"/>. 47/// The default challenge scheme can be configured using <see cref="AuthenticationOptions.DefaultChallengeScheme"/>. 57/// The default challenge scheme can be configured using <see cref="AuthenticationOptions.DefaultChallengeScheme"/>. 89/// The default forbid scheme can be configured using <see cref="AuthenticationOptions.DefaultForbidScheme"/>. 99/// The default forbid scheme can be configured using <see cref="AuthenticationOptions.DefaultForbidScheme"/>. 130/// The default scheme for signing in can be configured using <see cref="AuthenticationOptions.DefaultSignInScheme"/>. 140/// The default scheme for signing in can be configured using <see cref="AuthenticationOptions.DefaultSignInScheme"/>. 162/// The default scheme for signing out can be configured using <see cref="AuthenticationOptions.DefaultSignOutScheme"/>. 170/// The default scheme for signing out can be configured using <see cref="AuthenticationOptions.DefaultSignOutScheme"/>. 207/// The default authentication scheme can be configured using <see cref="AuthenticationOptions.DefaultAuthenticateScheme"/>.
IAuthenticationSchemeProvider.cs (8)
28/// This is typically specified via <see cref="AuthenticationOptions.DefaultAuthenticateScheme"/>. 29/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 36/// This is typically specified via <see cref="AuthenticationOptions.DefaultChallengeScheme"/>. 37/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 44/// This is typically specified via <see cref="AuthenticationOptions.DefaultForbidScheme"/>. 52/// This is typically specified via <see cref="AuthenticationOptions.DefaultSignInScheme"/>. 53/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 60/// This is typically specified via <see cref="AuthenticationOptions.DefaultSignOutScheme"/>.
Microsoft.AspNetCore.Authentication.Core (19)
AuthenticationCoreServiceCollectionExtensions.cs (2)
34/// <param name="configureOptions">Used to configure the <see cref="AuthenticationOptions"/>.</param> 36public static IServiceCollection AddAuthenticationCore(this IServiceCollection services, Action<AuthenticationOptions> configureOptions)
AuthenticationSchemeProvider.cs (13)
19/// <param name="options">The <see cref="AuthenticationOptions"/> options.</param> 20public AuthenticationSchemeProvider(IOptions<AuthenticationOptions> options) 29/// <param name="options">The <see cref="AuthenticationOptions"/> options.</param> 31protected AuthenticationSchemeProvider(IOptions<AuthenticationOptions> options, IDictionary<string, AuthenticationScheme> schemes) 45private readonly AuthenticationOptions _options; 64/// This is typically specified via <see cref="AuthenticationOptions.DefaultAuthenticateScheme"/>. 65/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 75/// This is typically specified via <see cref="AuthenticationOptions.DefaultChallengeScheme"/>. 76/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 86/// This is typically specified via <see cref="AuthenticationOptions.DefaultForbidScheme"/>. 97/// This is typically specified via <see cref="AuthenticationOptions.DefaultSignInScheme"/>. 98/// Otherwise, this will fallback to <see cref="AuthenticationOptions.DefaultScheme"/>. 108/// This is typically specified via <see cref="AuthenticationOptions.DefaultSignOutScheme"/>.
AuthenticationService.cs (4)
24/// <param name="options">The <see cref="AuthenticationOptions"/>.</param> 25public AuthenticationService(IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers, IClaimsTransformation transform, IOptions<AuthenticationOptions> options) 49/// The <see cref="AuthenticationOptions"/>. 51public AuthenticationOptions Options { get; }
Microsoft.AspNetCore.Authentication.Core.Test (1)
AuthenticationSchemeProviderTests.cs (1)
302public IgnoreCaseSchemeProvider(IOptions<AuthenticationOptions> options)
Microsoft.AspNetCore.Authentication.Test (1)
RemoteAuthenticationTests.cs (1)
25s.Configure<AuthenticationOptions>(o => o.DefaultScheme = DefaultScheme);