Partager via


TeamFoundationOAuthService.QueryTokens Method

QueryTokens is used to retrieve the set of access tokens associated with a given identity within the given host.

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

Syntax

'Declaration
Public Function QueryTokens ( _
    requestContext As TeamFoundationRequestContext, _
    identity As Identity _
) As List(Of OAuthToken)
public List<OAuthToken> QueryTokens(
    TeamFoundationRequestContext requestContext,
    Identity identity
)
public:
List<OAuthToken^>^ QueryTokens(
    TeamFoundationRequestContext^ requestContext, 
    Identity^ identity
)
member QueryTokens : 
        requestContext:TeamFoundationRequestContext * 
        identity:Identity -> List<OAuthToken> 
public function QueryTokens(
    requestContext : TeamFoundationRequestContext, 
    identity : Identity
) : List<OAuthToken>

Parameters

Return Value

Type: System.Collections.Generic.List<OAuthToken>
Set of valid tokens for this specified identity.

.NET Framework Security

See Also

Reference

TeamFoundationOAuthService Class

Microsoft.TeamFoundation.Framework.Server Namespace