TeamFoundationOAuthService.GetApplication Method

Retrieve a registered application that has the given clientId.

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

Syntax

'Declaration
Public Function GetApplication ( _
    requestContext As TeamFoundationRequestContext, _
    clientId As String _
) As OAuthApplication
public OAuthApplication GetApplication(
    TeamFoundationRequestContext requestContext,
    string clientId
)
public:
OAuthApplication^ GetApplication(
    TeamFoundationRequestContext^ requestContext, 
    String^ clientId
)
member GetApplication : 
        requestContext:TeamFoundationRequestContext * 
        clientId:string -> OAuthApplication
public function GetApplication(
    requestContext : TeamFoundationRequestContext, 
    clientId : String
) : OAuthApplication

Parameters

  • clientId
    Type: System.String

    The clientId for the application to retieve.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.OAuthApplication
The matching application

.NET Framework Security

See Also

Reference

TeamFoundationOAuthService Class

Microsoft.TeamFoundation.Framework.Server Namespace