BaseValidatingContext<TOptions> Class

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

Namespace:  Microsoft.Owin.Security.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Syntax

'Declaration
Public MustInherit Class BaseValidatingContext(Of TOptions) _
    Inherits BaseContext(Of TOptions)
'Usage
Dim instance As BaseValidatingContext(Of TOptions)
public abstract class BaseValidatingContext<TOptions> : BaseContext<TOptions>
generic<typename TOptions>
public ref class BaseValidatingContext abstract : public BaseContext<TOptions>
[<AbstractClassAttribute>]
type BaseValidatingContext<'TOptions> =  
    class 
        inherit BaseContext<'TOptions>
    end
JScript does not support generic types and methods.

Type Parameters

  • TOptions

The BaseValidatingContext<TOptions> type exposes the following members.

Constructors

  Name Description
Protected method BaseValidatingContext<TOptions> Initializes a new instance of the BaseValidatingContext<TOptions> class.

Top

Properties

  Name Description
Public property Error Gets the validation error.
Public property ErrorDescription Gets the description of the error.
Public property ErrorUri Gets the Uri error.
Public property HasError Gets a value that indicates whether the authentication has an error.
Public property IsValidated Gets a value that indicates whether the context is validated.
Public property Options (Inherited from BaseContext<TOptions>.)
Public property OwinContext (Inherited from BaseContext<TOptions>.)
Public property Request (Inherited from BaseContext<TOptions>.)
Public property Response (Inherited from BaseContext<TOptions>.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Rejected Shows the rejected context after validation.
Public method SetError(String) Sets error after validation.
Public method SetError(String, String) Sets error after validation.
Public method SetError(String, String, String) Sets error after validation.
Public method ToString (Inherited from Object.)
Public method Validated Occurs when the context is finished validating.

Top

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

Reference

Microsoft.Owin.Security.OAuth Namespace