1 write to _schemes
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationSchemeProvider.cs (1)
35
_schemes
= schemes ?? throw new ArgumentNullException(nameof(schemes));
11 references to _schemes
Microsoft.AspNetCore.Authentication.Core (11)
AuthenticationSchemeProvider.cs (11)
123
=> Task.FromResult(
_schemes
.TryGetValue(name, out var scheme) ? scheme : null);
139
if (
_schemes
.ContainsKey(scheme.Name))
145
if (
_schemes
.ContainsKey(scheme.Name))
154
_schemes
[scheme.Name] = scheme;
155
_schemesCopy =
_schemes
.Values.ToArray();
168
if (
_schemes
.ContainsKey(scheme.Name))
187
if (!
_schemes
.TryGetValue(name, out _))
193
if (
_schemes
.TryGetValue(name, out var scheme))
199
_schemes
.Remove(name);
200
_schemesCopy =
_schemes
.Values.ToArray();
214
if (
_schemes
.Count == 1)