ConnectedService.GetOAuthToken Method
The OAuth token of the user who created the connected servcie.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function GetOAuthToken ( _
requestContext As TeamFoundationRequestContext _
) As String
public string GetOAuthToken(
TeamFoundationRequestContext requestContext
)
public:
String^ GetOAuthToken(
TeamFoundationRequestContext^ requestContext
)
member GetOAuthToken :
requestContext:TeamFoundationRequestContext -> string
public function GetOAuthToken(
requestContext : TeamFoundationRequestContext
) : String
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: System.String
.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.