Share via


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.

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

Syntax

'Declaration
Public Function Validated ( _
    identity As ClaimsIdentity _
) As Boolean
'Usage
Dim instance As BaseValidatingTicketContext 
Dim identity As ClaimsIdentity 
Dim returnValue As Boolean 

returnValue = instance.Validated(identity)
public bool Validated(
    ClaimsIdentity identity
)
public:
bool Validated(
    ClaimsIdentity^ identity
)
member Validated : 
        identity:ClaimsIdentity -> bool
public function Validated(
    identity : ClaimsIdentity
) : boolean

Parameters

  • identity
    Type: ClaimsIdentity
    Assigned to the Ticket.Identity property

Return Value

Type: System.Boolean
True if the validation has taken effect.

See Also

Reference

BaseValidatingTicketContext<TOptions> Class

Validated Overload

Microsoft.Owin.Security.OAuth Namespace