Freigeben über


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

Return Value

Type: System.Collections.Generic.List<OAuthToken>

.NET Framework Security

See Also

Reference

TeamFoundationOAuthService Class

Microsoft.TeamFoundation.Framework.Server Namespace