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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.OAuthToken
.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.