Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
identityInfo
Type: Microsoft.TeamFoundation.Framework.Server.ServiceIdentityInfoThe user name and password of the service identity
Return Value
Type: System.String
An authentication token good for up to 24 hours
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.