BaseValidatingTicketContext<TOptions>.Validated Method

 

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

Overload List

Name Description
System_CAPS_pubmethod 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>.)

System_CAPS_pubmethod 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.

System_CAPS_pubmethod 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

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

Return Value

Type: System.Boolean

True if the validation has taken effect.

Return to top