Condividi tramite


ITeamFoundationBasicAuthService.IsValidBasicCredential Method

Verifies that the provided password matches the value which was configured by the user.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function IsValidBasicCredential ( _
    requestContext As TeamFoundationRequestContext, _
    identity As Identity, _
    password As String _
) As Boolean
bool IsValidBasicCredential(
    TeamFoundationRequestContext requestContext,
    Identity identity,
    string password
)
bool IsValidBasicCredential(
    TeamFoundationRequestContext^ requestContext, 
    Identity^ identity, 
    String^ password
)
abstract IsValidBasicCredential : 
        requestContext:TeamFoundationRequestContext * 
        identity:Identity * 
        password:string -> bool
function IsValidBasicCredential(
    requestContext : TeamFoundationRequestContext, 
    identity : Identity, 
    password : String
) : boolean

Parameters

Return Value

Type: System.Boolean
True if basic authentication is configured and the password matches; otherwise, false

.NET Framework Security

See Also

Reference

ITeamFoundationBasicAuthService Interface

Microsoft.TeamFoundation.Framework.Server Namespace