BaseValidatingTicketContext<TOptions>.Validated Method
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Overload List
Name | Description | |
---|---|---|
Validated() | Marks this context as validated by the application. IsValidated becomes true and HasError becomes false as a result of calling.(Inherited from BaseValidatingContext<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. |
|
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. |
See Also
BaseValidatingTicketContext<TOptions> Class
Microsoft.Owin.Security.OAuth Namespace
Return to top
BaseValidatingTicketContext<TOptions>.Validated Method (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.
Syntax
public bool Validated(
AuthenticationTicket ticket
)
public:
bool Validated(
AuthenticationTicket^ ticket
)
member Validated :
ticket:AuthenticationTicket -> bool
Public Function Validated (
ticket As AuthenticationTicket
) As Boolean
Parameters
ticket
Type: Microsoft.Owin.Security.AuthenticationTicketAssigned to the Ticket property
Return Value
Type: System.Boolean
True if the validation has taken effect.
Return to top
BaseValidatingTicketContext<TOptions>.Validated Method (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.
Syntax
public bool Validated(
ClaimsIdentity identity
)
public:
bool Validated(
ClaimsIdentity^ identity
)
member Validated :
identity:ClaimsIdentity -> bool
Public Function Validated (
identity As ClaimsIdentity
) As Boolean
Parameters
identity
Type: System.Security.Claims.ClaimsIdentityAssigned to the Ticket.Identity property
Return Value
Type: System.Boolean
True if the validation has taken effect.
Return to top