27 references to NegotiateOptions
Microsoft.AspNetCore.Authentication.Negotiate (20)
Events\AuthenticatedContext.cs (2)
11
public class AuthenticatedContext : ResultContext<
NegotiateOptions
>
20
NegotiateOptions
options)
Events\AuthenticationFailedContext.cs (2)
11
public class AuthenticationFailedContext : RemoteAuthenticationContext<
NegotiateOptions
>
20
NegotiateOptions
options)
Events\ChallengeContext.cs (2)
11
public class ChallengeContext : PropertiesContext<
NegotiateOptions
>
20
NegotiateOptions
options,
Events\LdapContext.cs (2)
11
public class LdapContext : ResultContext<
NegotiateOptions
>
20
NegotiateOptions
options,
Internal\NegotiateOptionsValidationStartupFilter.cs (2)
25
var
options = builder.ApplicationServices.GetRequiredService<IOptionsMonitor<
NegotiateOptions
>>().Get(_authenticationScheme);
NegotiateExtensions.cs (5)
40
public static AuthenticationBuilder AddNegotiate(this AuthenticationBuilder builder, Action<
NegotiateOptions
> configureOptions)
54
public static AuthenticationBuilder AddNegotiate(this AuthenticationBuilder builder, string authenticationScheme, Action<
NegotiateOptions
> configureOptions)
69
public static AuthenticationBuilder AddNegotiate(this AuthenticationBuilder builder, string authenticationScheme, string? displayName, Action<
NegotiateOptions
> configureOptions)
71
builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IPostConfigureOptions<
NegotiateOptions
>, PostConfigureNegotiateOptions>());
73
return builder.AddScheme<
NegotiateOptions
, NegotiateHandler>(authenticationScheme, displayName, configureOptions);
NegotiateHandler.cs (3)
21
public class NegotiateHandler : AuthenticationHandler<
NegotiateOptions
>, IAuthenticationRequestHandler
35
public NegotiateHandler(IOptionsMonitor<
NegotiateOptions
> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
43
public NegotiateHandler(IOptionsMonitor<
NegotiateOptions
> options, ILoggerFactory logger, UrlEncoder encoder)
PostConfigureNegotiateOptions.cs (2)
17
public class PostConfigureNegotiateOptions : IPostConfigureOptions<
NegotiateOptions
>
38
public void PostConfigure(string? name,
NegotiateOptions
options)
Microsoft.AspNetCore.Authentication.Negotiate.Test (7)
EventTests.cs (1)
409
private static async Task<IHost> CreateHostAsync(Action<
NegotiateOptions
> configureOptions = null)
NegotiateHandlerTests.cs (2)
212
NegotiateOptions
negotiateOptions = null;
380
private static async Task<IHost> CreateHostAsync(Action<
NegotiateOptions
> configureOptions = null)
ServerDeferralTests.cs (4)
20
var
options = host.Services.GetRequiredService<IOptions<
NegotiateOptions
>>().Value;
37
var
options = host.Services.GetRequiredService<IOptions<
NegotiateOptions
>>().Value;