NegotiateExtensions.AddNegotiate Method

Definition

Overloads

AddNegotiate(AuthenticationBuilder)

Adds Negotiate authentication.

AddNegotiate(AuthenticationBuilder, Action<NegotiateOptions>)

Adds and configures Negotiate authentication.

AddNegotiate(AuthenticationBuilder, String, Action<NegotiateOptions>)

Adds and configures Negotiate authentication.

AddNegotiate(AuthenticationBuilder, String, String, Action<NegotiateOptions>)

Adds and configures Negotiate authentication.

AddNegotiate(AuthenticationBuilder)

Adds Negotiate authentication.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddNegotiate(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder);
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

Returns

AuthenticationBuilder

The original builder.

AddNegotiate(AuthenticationBuilder, Action<NegotiateOptions>)

Adds and configures Negotiate authentication.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddNegotiate(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, Action<Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^> ^ configureOptions);
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

configureOptions
Action<NegotiateOptions>

Allows for configuring the authentication handler.

Returns

AuthenticationBuilder

The original builder.

AddNegotiate(AuthenticationBuilder, String, Action<NegotiateOptions>)

Adds and configures Negotiate authentication.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddNegotiate(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ authenticationScheme, Action<Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^> ^ configureOptions);
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

authenticationScheme
String

The scheme name used to identify the authentication handler internally.

configureOptions
Action<NegotiateOptions>

Allows for configuring the authentication handler.

Returns

AuthenticationBuilder

The original builder.

AddNegotiate(AuthenticationBuilder, String, String, Action<NegotiateOptions>)

Adds and configures Negotiate authentication.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddNegotiate(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ authenticationScheme, System::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

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

AuthenticationBuilder

The original builder.

Applies to