9 instantiations of AuthenticationSchemeBuilder
Microsoft.AspNetCore.Authentication.Abstractions (1)
AuthenticationOptions.cs (1)
42
var builder = new
AuthenticationSchemeBuilder
(name);
Microsoft.AspNetCore.Identity.Test (8)
SecurityStampValidatorTest.cs (8)
64
var context = new CookieValidatePrincipalContext(httpContext.Object, new
AuthenticationSchemeBuilder
(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket);
86
var context = new CookieValidatePrincipalContext(httpContext.Object, new
AuthenticationSchemeBuilder
(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket);
144
var context = new CookieValidatePrincipalContext(httpContext.Object, new
AuthenticationSchemeBuilder
(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket);
185
var context = new CookieValidatePrincipalContext(httpContext.Object, new
AuthenticationSchemeBuilder
(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket);
226
var context = new CookieValidatePrincipalContext(httpContext.Object, new
AuthenticationSchemeBuilder
(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket);
263
var context = new CookieValidatePrincipalContext(httpContext.Object, new
AuthenticationSchemeBuilder
(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket);
305
var context = new CookieValidatePrincipalContext(httpContext.Object, new
AuthenticationSchemeBuilder
(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(),
350
var context = new CookieValidatePrincipalContext(httpContext.Object, new
AuthenticationSchemeBuilder
(IdentityConstants.ApplicationScheme) { HandlerType = typeof(NoopHandler) }.Build(), new CookieAuthenticationOptions(), ticket);
8 references to AuthenticationSchemeBuilder
Microsoft.AspNetCore.Authentication.Abstractions (7)
AuthenticationOptions.cs (7)
15
private readonly IList<
AuthenticationSchemeBuilder
> _schemes = new List<
AuthenticationSchemeBuilder
>();
20
public IEnumerable<
AuthenticationSchemeBuilder
> Schemes => _schemes;
25
public IDictionary<string,
AuthenticationSchemeBuilder
> SchemeMap { get; } = new Dictionary<string,
AuthenticationSchemeBuilder
>(StringComparer.Ordinal);
32
public void AddScheme(string name, Action<
AuthenticationSchemeBuilder
> configureBuilder)
42
var
builder = new AuthenticationSchemeBuilder(name);
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationSchemeProvider.cs (1)
38
foreach (
var
builder in _options.Schemes)