다음을 통해 공유


TeamFoundationOAuthService.GetToken Method

GetToken is used to retrieve the details associated with a token.

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

Syntax

'Declaration
Public Function GetToken ( _
    requestContext As TeamFoundationRequestContext, _
    token As String _
) As OAuthToken
public OAuthToken GetToken(
    TeamFoundationRequestContext requestContext,
    string token
)
public:
OAuthToken^ GetToken(
    TeamFoundationRequestContext^ requestContext, 
    String^ token
)
member GetToken : 
        requestContext:TeamFoundationRequestContext * 
        token:string -> OAuthToken
public function GetToken(
    requestContext : TeamFoundationRequestContext, 
    token : String
) : OAuthToken

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.OAuthToken

.NET Framework Security

See Also

Reference

TeamFoundationOAuthService Class

Microsoft.TeamFoundation.Framework.Server Namespace