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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
clientId
Type: System.StringThe clientId for the application to retieve.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.OAuthApplication
The matching application
.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.