Class OpenIddictServerEvents.BaseRequestContext
Represents an abstract base class used for certain event contexts.
Inheritance
System.Object
OpenIddictServerEvents.BaseRequestContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenIddict.Server
Assembly: cs.temp.dll.dll
Syntax
public abstract class BaseRequestContext : OpenIddictServerEvents.BaseContext
Constructors
BaseRequestContext(OpenIddictServerTransaction)
Creates a new instance of the OpenIddictServerEvents.BaseRequestContext class.
Declaration
protected BaseRequestContext(OpenIddictServerTransaction transaction)
Parameters
Type | Name | Description |
---|---|---|
OpenIddictServerTransaction | transaction |
Properties
IsRequestHandled
Gets a boolean indicating whether the request was fully handled.
Declaration
public bool IsRequestHandled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRequestSkipped
Gets a boolean indicating whether the request processing was skipped.
Declaration
public bool IsRequestSkipped { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
HandleRequest()
Marks the request as fully handled. Once declared handled, a request shouldn't be processed further by the underlying host.
Declaration
public void HandleRequest()
SkipRequest()
Marks the request as skipped. Once declared skipped, a request shouldn't be processed further by OpenIddict but should be allowed to go through the next components in the processing pipeline (if this pattern is supported by the underlying host).
Declaration
public void SkipRequest()