Partager via


TeamFoundationAccessControlService.GetServiceIdentityToken Method

Retrieves an authenication token from ACS for the provided service identity information.

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

Syntax

'Declaration
Public Function GetServiceIdentityToken ( _
    requestContext As TeamFoundationRequestContext, _
    identityInfo As ServiceIdentityInfo _
) As String
public string GetServiceIdentityToken(
    TeamFoundationRequestContext requestContext,
    ServiceIdentityInfo identityInfo
)
public:
String^ GetServiceIdentityToken(
    TeamFoundationRequestContext^ requestContext, 
    ServiceIdentityInfo^ identityInfo
)
member GetServiceIdentityToken : 
        requestContext:TeamFoundationRequestContext * 
        identityInfo:ServiceIdentityInfo -> string
public function GetServiceIdentityToken(
    requestContext : TeamFoundationRequestContext, 
    identityInfo : ServiceIdentityInfo
) : String

Parameters

Return Value

Type: System.String
An authentication token good for up to 24 hours

.NET Framework Security

See Also

Reference

TeamFoundationAccessControlService Class

Microsoft.TeamFoundation.Framework.Server Namespace