TeamFoundationOAuthService.QueryRelatedTokens Method
Retrieve the set of tokens which were sourced from the given token (e.g. Access + Refresh tokens sourced from a given Auth token, Access token sourced from a given Refresh token)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryRelatedTokens ( _
requestContext As TeamFoundationRequestContext, _
token As String _
) As List(Of OAuthToken)
public List<OAuthToken> QueryRelatedTokens(
TeamFoundationRequestContext requestContext,
string token
)
public:
List<OAuthToken^>^ QueryRelatedTokens(
TeamFoundationRequestContext^ requestContext,
String^ token
)
member QueryRelatedTokens :
requestContext:TeamFoundationRequestContext *
token:string -> List<OAuthToken>
public function QueryRelatedTokens(
requestContext : TeamFoundationRequestContext,
token : String
) : List<OAuthToken>
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
Return Value
Type: System.Collections.Generic.List<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.