15 types derived from AuthenticationSchemeOptions
Aspire.Dashboard (4)
Authentication\Connection\ConnectionTypeAuthenticationHandler.cs (1)
40public sealed class ConnectionTypeAuthenticationHandlerOptions : AuthenticationSchemeOptions
Authentication\FrontendCompositeAuthenticationHandler.cs (1)
60public sealed class FrontendCompositeAuthenticationHandlerOptions : AuthenticationSchemeOptions
Authentication\OtlpApiKey\OtlpApiKeyAuthenticationHandler.cs (1)
56public sealed class OtlpApiKeyAuthenticationHandlerOptions : AuthenticationSchemeOptions
Authentication\OtlpCompositeAuthenticationHandler.cs (1)
61public sealed class OtlpCompositeAuthenticationHandlerOptions : AuthenticationSchemeOptions
Aspire.Hosting (1)
Dashboard\DashboardServiceAuth.cs (1)
22internal sealed class ResourceServiceApiKeyAuthenticationOptions : AuthenticationSchemeOptions
DynamicSchemes (1)
SimpleAuthHandler.cs (1)
10public class SimpleOptions : AuthenticationSchemeOptions
Identity.DefaultUI.WebSite (1)
Services\ContosoAuthenticationOptions.cs (1)
8public class ContosoAuthenticationOptions : AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication (2)
PolicySchemeOptions.cs (1)
9public class PolicySchemeOptions : AuthenticationSchemeOptions
RemoteAuthenticationOptions.cs (1)
13public class RemoteAuthenticationOptions : AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenOptions.cs (1)
11public sealed class BearerTokenOptions : AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationOptions.cs (1)
11public class CertificateAuthenticationOptions : AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationOptions.cs (1)
12public class CookieAuthenticationOptions : AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerOptions.cs (1)
16public class JwtBearerOptions : AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication.Negotiate (1)
NegotiateOptions.cs (1)
9public class NegotiateOptions : AuthenticationSchemeOptions
Microsoft.AspNetCore.Authentication.Test (1)
DynamicSchemeTests.cs (1)
91public class TestOptions : AuthenticationSchemeOptions
39 references to AuthenticationSchemeOptions
Aspire.Dashboard (3)
Authentication\UnsecuredAuthenticationHandler.cs (2)
11public class UnsecuredAuthenticationHandler : AuthenticationHandler<AuthenticationSchemeOptions> 13public UnsecuredAuthenticationHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
DashboardWebApplication.cs (1)
762authentication.AddScheme<AuthenticationSchemeOptions, UnsecuredAuthenticationHandler>(FrontendAuthenticationDefaults.AuthenticationSchemeUnsecured, o => { });
BasicWebSite (4)
BasicAuthenticationHandler.cs (2)
11public class BasicAuthenticationHandler : AuthenticationHandler<AuthenticationSchemeOptions> 13public BasicAuthenticationHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder)
StartupWithCustomInvalidModelStateFactory.cs (1)
15.AddScheme<AuthenticationSchemeOptions, BasicAuthenticationHandler>("Api", _ => { });
StartupWithoutEndpointRouting.cs (1)
23.AddScheme<AuthenticationSchemeOptions, BasicAuthenticationHandler>("Api", _ => { });
CustomAuthorizationFailureResponse (3)
Authentication\SampleAuthenticationHandler.cs (2)
11public class SampleAuthenticationHandler : AuthenticationHandler<AuthenticationSchemeOptions> 15public SampleAuthenticationHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
Startup.cs (1)
34.AddScheme<AuthenticationSchemeOptions, SampleAuthenticationHandler>(SampleAuthenticationSchemes.CustomScheme, o => { });
Microsoft.AspNetCore.Authentication (16)
AuthenticationBuilder.cs (6)
31where TOptions : AuthenticationSchemeOptions, new() 59/// <typeparam name="TOptions">The <see cref="AuthenticationSchemeOptions"/> type to configure the handler.</typeparam> 66where TOptions : AuthenticationSchemeOptions, new() 73/// <typeparam name="TOptions">The <see cref="AuthenticationSchemeOptions"/> type to configure the handler.</typeparam> 79where TOptions : AuthenticationSchemeOptions, new() 130where TOptions : AuthenticationSchemeOptions
AuthenticationHandler.cs (1)
16public abstract class AuthenticationHandler<TOptions> : IAuthenticationHandler where TOptions : AuthenticationSchemeOptions, new()
Events\BaseContext.cs (1)
11public abstract class BaseContext<TOptions> where TOptions : AuthenticationSchemeOptions
Events\HandleRequestContext.cs (1)
12public class HandleRequestContext<TOptions> : BaseContext<TOptions> where TOptions : AuthenticationSchemeOptions
Events\PrincipalContext.cs (1)
12public abstract class PrincipalContext<TOptions> : PropertiesContext<TOptions> where TOptions : AuthenticationSchemeOptions
Events\PropertiesContext.cs (1)
11public abstract class PropertiesContext<TOptions> : BaseContext<TOptions> where TOptions : AuthenticationSchemeOptions
Events\RedirectContext.cs (1)
11public class RedirectContext<TOptions> : PropertiesContext<TOptions> where TOptions : AuthenticationSchemeOptions
Events\RemoteAuthenticationContext.cs (1)
12public abstract class RemoteAuthenticationContext<TOptions> : HandleRequestContext<TOptions> where TOptions : AuthenticationSchemeOptions
Events\ResultContext.cs (1)
12public abstract class ResultContext<TOptions> : BaseContext<TOptions> where TOptions : AuthenticationSchemeOptions
SignInAuthenticationHandler.cs (1)
15where TOptions : AuthenticationSchemeOptions, new()
SignOutAuthenticationHandler.cs (1)
14where TOptions : AuthenticationSchemeOptions, new()
Microsoft.AspNetCore.Authentication.Test (3)
SharedAuthenticationTests.cs (1)
13public abstract class SharedAuthenticationTests<TOptions> where TOptions : AuthenticationSchemeOptions
TestHandlers.cs (2)
12public class TestAuthHandler : AuthenticationHandler<AuthenticationSchemeOptions>, IAuthenticationSignInHandler 14public TestAuthHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)
Microsoft.AspNetCore.Identity (3)
IdentityServiceCollectionExtensions.cs (3)
142.AddScheme<AuthenticationSchemeOptions, CompositeIdentityHandler>(IdentityConstants.BearerAndApplicationScheme, null, compositeOptions => 189private sealed class CompositeIdentityHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) 190: SignInAuthenticationHandler<AuthenticationSchemeOptions>(options, logger, encoder)
Microsoft.AspNetCore.Tests (4)
WebApplicationTests.cs (4)
2441.AddScheme<AuthenticationSchemeOptions, UberHandler>("testSchemeName", "testDisplayName", _ => { }); 2481.AddScheme<AuthenticationSchemeOptions, UberHandler>("testSchemeName", "testDisplayName", _ => { }); 2849private class UberHandler : AuthenticationHandler<AuthenticationSchemeOptions> 2851public UberHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder) { }
PathSchemeSelection (3)
Startup.cs (3)
27.AddScheme<AuthenticationSchemeOptions, ApiAuthHandler>("Api", o => { }) 40public class ApiAuthHandler : AuthenticationHandler<AuthenticationSchemeOptions> 44public ApiAuthHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder) : base(options, logger, encoder)