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.
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
'Declaration
Public Function Validated ( _
ticket As AuthenticationTicket _
) As Boolean
'Usage
Dim instance As BaseValidatingTicketContext
Dim ticket As AuthenticationTicket
Dim returnValue As Boolean
returnValue = instance.Validated(ticket)
public bool Validated(
AuthenticationTicket ticket
)
public:
bool Validated(
AuthenticationTicket^ ticket
)
member Validated :
ticket:AuthenticationTicket -> bool
public function Validated(
ticket : AuthenticationTicket
) : boolean
Parameters
- ticket
Type: Microsoft.Owin.Security.AuthenticationTicket
Assigned to the Ticket property
Return Value
Type: System.Boolean
True if the validation has taken effect.