OAuthValidateIdentityContext Class
Represents an OAuth validate identity context.
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Provider.BaseContext<OAuthBearerAuthenticationOptions>
Microsoft.Owin.Security.OAuth.BaseValidatingContext<OAuthBearerAuthenticationOptions>
Microsoft.Owin.Security.OAuth.BaseValidatingTicketContext<OAuthBearerAuthenticationOptions>
Microsoft.Owin.Security.OAuth.OAuthValidateIdentityContext
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
'Declaration
Public Class OAuthValidateIdentityContext _
Inherits BaseValidatingTicketContext(Of OAuthBearerAuthenticationOptions)
'Usage
Dim instance As OAuthValidateIdentityContext
public class OAuthValidateIdentityContext : BaseValidatingTicketContext<OAuthBearerAuthenticationOptions>
public ref class OAuthValidateIdentityContext : public BaseValidatingTicketContext<OAuthBearerAuthenticationOptions^>
type OAuthValidateIdentityContext =
class
inherit BaseValidatingTicketContext<OAuthBearerAuthenticationOptions>
end
public class OAuthValidateIdentityContext extends BaseValidatingTicketContext<OAuthBearerAuthenticationOptions>
The OAuthValidateIdentityContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OAuthValidateIdentityContext |
Top
Properties
Name | Description | |
---|---|---|
Error | Gets the validation error. (Inherited from BaseValidatingContext<TOptions>.) | |
ErrorDescription | Gets the description of the error. (Inherited from BaseValidatingContext<TOptions>.) | |
ErrorUri | Gets the Uri error. (Inherited from BaseValidatingContext<TOptions>.) | |
HasError | Gets a value that indicates whether the authentication has an error. (Inherited from BaseValidatingContext<TOptions>.) | |
IsValidated | Gets a value that indicates whether the context is validated. (Inherited from BaseValidatingContext<TOptions>.) | |
Options | (Inherited from BaseContext<TOptions>.) | |
OwinContext | (Inherited from BaseContext<TOptions>.) | |
Request | (Inherited from BaseContext<TOptions>.) | |
Response | (Inherited from BaseContext<TOptions>.) | |
Ticket | 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>.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Rejected | Shows the rejected context after validation. (Inherited from BaseValidatingContext<TOptions>.) | |
SetError(String) | Sets error after validation. (Inherited from BaseValidatingContext<TOptions>.) | |
SetError(String, String) | Sets error after validation. (Inherited from BaseValidatingContext<TOptions>.) | |
SetError(String, String, String) | Sets error after validation. (Inherited from BaseValidatingContext<TOptions>.) | |
ToString | (Inherited from Object.) | |
Validated() | Occurs when the context is finished validating. (Inherited from BaseValidatingContext<TOptions>.) | |
Validated(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>.) | |
Validated(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>.) |
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.