Share via


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

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

ConnectedService Class

Microsoft.TeamFoundation.Server.Core Namespace