OAuthGrantAuthorizationCodeContext Class

 

Provides context information when handling an OAuth authorization code grant.

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


public ref class OAuthGrantAuthorizationCodeContext : BaseValidatingTicketContext<OAuthAuthorizationServerOptions^>

NameDescription
System_CAPS_pubmethodOAuthGrantAuthorizationCodeContext(IOwinContext^, OAuthAuthorizationServerOptions^, AuthenticationTicket^)

Initializes a new instance of the OAuthGrantAuthorizationCodeContext class

NameDescription
System_CAPS_pubpropertyError

The error argument provided when SetError was called on this context. This is eventually returned to the client app as the OAuth "error" parameter.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubpropertyErrorDescription

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.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubpropertyErrorUri

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.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubpropertyHasError

True if application code has called any of the SetError methods on this context.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubpropertyIsValidated

True if application code has called any of the Validate methods on this context.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubpropertyOptions

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubpropertyOwinContext

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubpropertyRequest

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubpropertyResponse

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubpropertyTicket

Contains the identity and properties for the application to authenticate. If the Validated method is invoked with an AuthenticationTicket or ClaimsIdentity argument, that new value is assigned to this property in addition to changing IsValidated to true.(Inherited from BaseValidatingTicketContext<TOptions>.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRejected()

Marks this context as not validated by the application. IsValidated and HasError become false as a result of calling.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubmethodSetError(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.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubmethodSetError(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.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubmethodSetError(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.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidated()

Marks this context as validated by the application. IsValidated becomes true and HasError becomes false as a result of calling.(Inherited from BaseValidatingContext<TOptions>.)

System_CAPS_pubmethodValidated(AuthenticationTicket^)

Replaces the ticket information on this context and marks it as as validated by the application. IsValidated becomes true and HasError becomes false as a result of calling.(Inherited from BaseValidatingTicketContext<TOptions>.)

System_CAPS_pubmethodValidated(ClaimsIdentity^)

Alters the ticket information on this context and marks it as as validated by the application. IsValidated becomes true and HasError becomes false as a result of calling.(Inherited from BaseValidatingTicketContext<TOptions>.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: