Share via


NegotiateOptions Class

Definition

Options class provides information needed to control Negotiate Authentication handler behavior

public ref class NegotiateOptions : Microsoft::AspNetCore::Authentication::AuthenticationSchemeOptions
public class NegotiateOptions : Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions
type NegotiateOptions = class
    inherit AuthenticationSchemeOptions
Public Class NegotiateOptions
Inherits AuthenticationSchemeOptions
Inheritance

Constructors

NegotiateOptions()

Properties

ClaimsIssuer

Gets or sets the issuer that should be used for any claims that are created

(Inherited from AuthenticationSchemeOptions)
Events

The object provided by the application to process events raised by the negotiate authentication handler. The application may use the existing NegotiateEvents instance and assign delegates only to the events it wants to process. The application may also replace it with its own derived instance.

EventsType

If set, will be used as the service type to get the Events instance instead of the property.

(Inherited from AuthenticationSchemeOptions)
ForwardAuthenticate

If set, this specifies the target scheme that this scheme should forward AuthenticateAsync calls to. For example Context.AuthenticateAsync("ThisScheme") => Context.AuthenticateAsync("ForwardAuthenticateValue"); Set the target to the current scheme to disable forwarding and allow normal processing.

(Inherited from AuthenticationSchemeOptions)
ForwardChallenge

If set, this specifies the target scheme that this scheme should forward ChallengeAsync calls to. For example Context.ChallengeAsync("ThisScheme") => Context.ChallengeAsync("ForwardChallengeValue"); Set the target to the current scheme to disable forwarding and allow normal processing.

(Inherited from AuthenticationSchemeOptions)
ForwardDefault

If set, this specifies a default scheme that authentication handlers should forward all authentication operations to by default. The default forwarding logic will check the most specific ForwardAuthenticate/Challenge/Forbid/SignIn/SignOut setting first, followed by checking the ForwardDefaultSelector, followed by ForwardDefault. The first non null result will be used as the target scheme to forward to.

(Inherited from AuthenticationSchemeOptions)
ForwardDefaultSelector

Used to select a default scheme for the current request that authentication handlers should forward all authentication operations to by default. The default forwarding logic will check the most specific ForwardAuthenticate/Challenge/Forbid/SignIn/SignOut setting first, followed by checking the ForwardDefaultSelector, followed by ForwardDefault. The first non null result will be used as the target scheme to forward to.

(Inherited from AuthenticationSchemeOptions)
ForwardForbid

If set, this specifies the target scheme that this scheme should forward ForbidAsync calls to. For example Context.ForbidAsync("ThisScheme") => Context.ForbidAsync("ForwardForbidValue"); Set the target to the current scheme to disable forwarding and allow normal processing.

(Inherited from AuthenticationSchemeOptions)
ForwardSignIn

If set, this specifies the target scheme that this scheme should forward SignInAsync calls to. For example Context.SignInAsync("ThisScheme") => Context.SignInAsync("ForwardSignInValue"); Set the target to the current scheme to disable forwarding and allow normal processing.

(Inherited from AuthenticationSchemeOptions)
ForwardSignOut

If set, this specifies the target scheme that this scheme should forward SignOutAsync calls to. For example Context.SignOutAsync("ThisScheme") => Context.SignOutAsync("ForwardSignOutValue"); Set the target to the current scheme to disable forwarding and allow normal processing.

(Inherited from AuthenticationSchemeOptions)
PersistKerberosCredentials

Indicates if Kerberos credentials should be persisted and re-used for subsquent anonymous requests. This option must not be used if connections may be shared by requests from different users.

PersistNtlmCredentials

Indicates if NTLM credentials should be persisted and re-used for subsquent anonymous requests. This option must not be used if connections may be shared by requests from different users.

TimeProvider

Used for testing.

(Inherited from AuthenticationSchemeOptions)

Methods

EnableLdap(Action<LdapSettings>)

Use LDAP connections used to retrieve claims using the configured settings. This should only be used on Linux systems.

EnableLdap(String)

Use LDAP connections used to retrieve claims for the given domain. This should only be used on Linux systems.

Validate()

Check that the options are valid. Should throw an exception if things are not ok.

(Inherited from AuthenticationSchemeOptions)
Validate(String)

Checks that the options are valid for a specific scheme

(Inherited from AuthenticationSchemeOptions)

Applies to