LdapContext Class
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.
State for the RetrieveLdapClaims event.
public ref class LdapContext : Microsoft::AspNetCore::Authentication::ResultContext<Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^>
public class LdapContext : Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions>
type LdapContext = class
inherit ResultContext<NegotiateOptions>
Public Class LdapContext
Inherits ResultContext(Of NegotiateOptions)
- Inheritance
Constructors
LdapContext(HttpContext, AuthenticationScheme, NegotiateOptions, LdapSettings) |
Creates a new LdapContext. |
Properties
HttpContext |
The context. (Inherited from BaseContext<TOptions>) |
LdapSettings |
The LDAP settings to use for the RetrieveLdapClaims event. |
Options |
Gets the authentication options associated with the scheme. (Inherited from BaseContext<TOptions>) |
Principal |
Gets or sets the ClaimsPrincipal containing the user claims. (Inherited from ResultContext<TOptions>) |
Properties |
Gets or sets the AuthenticationProperties. (Inherited from ResultContext<TOptions>) |
Request |
The request. (Inherited from BaseContext<TOptions>) |
Response |
The response. (Inherited from BaseContext<TOptions>) |
Result |
Gets the AuthenticateResult result. (Inherited from ResultContext<TOptions>) |
Scheme |
The authentication scheme. (Inherited from BaseContext<TOptions>) |
Methods
Fail(Exception) |
Indicates that there was a failure during authentication. (Inherited from ResultContext<TOptions>) |
Fail(String) |
Indicates that there was a failure during authentication. (Inherited from ResultContext<TOptions>) |
NoResult() |
Indicates that there was no information returned for this authentication scheme. (Inherited from ResultContext<TOptions>) |
Success() |
Calls success creating a ticket with the Principal and Properties. (Inherited from ResultContext<TOptions>) |