ITeamFoundationBasicAuthService.IsValidBasicCredential 方法

验证提供的密码匹配用户配置的值。

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
Function IsValidBasicCredential ( _
    requestContext As TeamFoundationRequestContext, _
    identity As Identity, _
    password As String _
) As Boolean
bool IsValidBasicCredential(
    TeamFoundationRequestContext requestContext,
    Identity identity,
    string password
)

参数

返回值

类型:System.Boolean
如果配置基本身份验证和密码匹配,则为 true;否则,错误

.NET Framework 安全性

请参阅

参考

ITeamFoundationBasicAuthService 接口

Microsoft.TeamFoundation.Framework.Server 命名空间