NegotiateExtensions.AddNegotiate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddNegotiate(AuthenticationBuilder) |
Configures the AuthenticationBuilder to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication using the default scheme from AuthenticationScheme. This authentication handler supports Kerberos on Windows and Linux servers. |
AddNegotiate(AuthenticationBuilder, Action<NegotiateOptions>) |
Configures the AuthenticationBuilder to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication using the default scheme. The default scheme is specified by AuthenticationScheme. This authentication handler supports Kerberos on Windows and Linux servers. |
AddNegotiate(AuthenticationBuilder, String, Action<NegotiateOptions>) |
Configures the AuthenticationBuilder to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication using the specified authentication scheme. This authentication handler supports Kerberos on Windows and Linux servers. |
AddNegotiate(AuthenticationBuilder, String, String, Action<NegotiateOptions>) |
Configures the AuthenticationBuilder to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication using the specified authentication scheme. This authentication handler supports Kerberos on Windows and Linux servers. |
AddNegotiate(AuthenticationBuilder)
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
Configures the AuthenticationBuilder to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication using the default scheme from AuthenticationScheme.
This authentication handler supports Kerberos on Windows and Linux servers.
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddNegotiate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddNegotiate : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddNegotiate (builder As AuthenticationBuilder) As AuthenticationBuilder
Parameters
- builder
- AuthenticationBuilder
Returns
The original builder.
Applies to
AddNegotiate(AuthenticationBuilder, Action<NegotiateOptions>)
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
Configures the AuthenticationBuilder to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication using the default scheme. The default scheme is specified by AuthenticationScheme.
This authentication handler supports Kerberos on Windows and Linux servers.
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddNegotiate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> configureOptions);
static member AddNegotiate : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddNegotiate (builder As AuthenticationBuilder, configureOptions As Action(Of NegotiateOptions)) As AuthenticationBuilder
Parameters
- builder
- AuthenticationBuilder
- configureOptions
- Action<NegotiateOptions>
Allows for configuring the authentication handler.
Returns
The original builder.
Applies to
AddNegotiate(AuthenticationBuilder, String, Action<NegotiateOptions>)
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
Configures the AuthenticationBuilder to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication using the specified authentication scheme.
This authentication handler supports Kerberos on Windows and Linux servers.
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddNegotiate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> configureOptions);
static member AddNegotiate : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddNegotiate (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of NegotiateOptions)) As AuthenticationBuilder
Parameters
- builder
- AuthenticationBuilder
- authenticationScheme
- String
The scheme name used to identify the authentication handler internally.
- configureOptions
- Action<NegotiateOptions>
Allows for configuring the authentication handler.
Returns
The original builder.
Applies to
AddNegotiate(AuthenticationBuilder, String, String, Action<NegotiateOptions>)
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
- Source:
- NegotiateExtensions.cs
Configures the AuthenticationBuilder to use Negotiate (also known as Windows, Kerberos, or NTLM) authentication using the specified authentication scheme.
This authentication handler supports Kerberos on Windows and Linux servers.
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddNegotiate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> configureOptions);
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddNegotiate (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string? displayName, Action<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> configureOptions);
static member AddNegotiate : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddNegotiate (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of NegotiateOptions)) As AuthenticationBuilder
Parameters
- builder
- AuthenticationBuilder
- authenticationScheme
- String
The scheme name used to identify the authentication handler internally.
- displayName
- String
The name displayed to users when selecting an authentication handler. The default is null to prevent this from displaying.
- configureOptions
- Action<NegotiateOptions>
Allows for configuring the authentication handler.
Returns
The original builder.