BaseValidatingContext<TOptions> Class
Base class used for certain event contexts
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Provider.BaseContext<TOptions>
Microsoft.Owin.Security.OAuth.BaseValidatingContext<TOptions>
Microsoft.Owin.Security.OAuth.BaseValidatingClientContext
Microsoft.Owin.Security.OAuth.BaseValidatingTicketContext<TOptions>
Microsoft.Owin.Security.OAuth.OAuthValidateAuthorizeRequestContext
Microsoft.Owin.Security.OAuth.OAuthValidateTokenRequestContext
Syntax
public abstract class BaseValidatingContext<TOptions> : BaseContext<TOptions>
generic<typename TOptions>
public ref class BaseValidatingContext abstract : BaseContext<TOptions>
[<AbstractClass>]
type BaseValidatingContext<'TOptions> =
class
inherit BaseContext<'TOptions>
end
Public MustInherit Class BaseValidatingContext(Of TOptions)
Inherits BaseContext(Of TOptions)
Type Parameters
- TOptions
Constructors
Name | Description | |
---|---|---|
BaseValidatingContext<TOptions>(IOwinContext, TOptions) | Initializes base class used for certain event contexts |
Properties
Name | Description | |
---|---|---|
Error | The error argument provided when SetError was called on this context. This is eventually returned to the client app as the OAuth "error" parameter. |
|
ErrorDescription | The optional errorDescription argument provided when SetError was called on this context. This is eventually returned to the client app as the OAuth "error_description" parameter. |
|
ErrorUri | The optional errorUri argument provided when SetError was called on this context. This is eventually returned to the client app as the OAuth "error_uri" parameter. |
|
HasError | True if application code has called any of the SetError methods on this context. |
|
IsValidated | True if application code has called any of the Validate methods on this context. |
|
Options | (Inherited from BaseContext<TOptions>.) |
|
OwinContext | (Inherited from BaseContext<TOptions>.) |
|
Request | (Inherited from BaseContext<TOptions>.) |
|
Response | (Inherited from BaseContext<TOptions>.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
Rejected() | Marks this context as not validated by the application. IsValidated and HasError become false as a result of calling. |
|
SetError(String) | Marks this context as not validated by the application and assigns various error information properties. HasError becomes true and IsValidated becomes false as a result of calling. |
|
SetError(String, String) | Marks this context as not validated by the application and assigns various error information properties. HasError becomes true and IsValidated becomes false as a result of calling. |
|
SetError(String, String, String) | Marks this context as not validated by the application and assigns various error information properties. HasError becomes true and IsValidated becomes false as a result of calling. |
|
ToString() | (Inherited from Object.) |
|
Validated() | Marks this context as validated by the application. IsValidated becomes true and HasError becomes false as a result of calling. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Owin.Security.OAuth Namespace
Return to top