TeamFoundationOAuthService.QueryTokens Method

QueryTokens is used to retrieve the set of access tokens associated with a given identity in 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 TeamFoundationIdentity _
) As List(Of OAuthToken)
public List<OAuthToken> QueryTokens(
    TeamFoundationRequestContext requestContext,
    TeamFoundationIdentity identity
)
public:
List<OAuthToken^>^ QueryTokens(
    TeamFoundationRequestContext^ requestContext, 
    TeamFoundationIdentity^ identity
)
member QueryTokens : 
        requestContext:TeamFoundationRequestContext * 
        identity:TeamFoundationIdentity -> List<OAuthToken> 
public function QueryTokens(
    requestContext : TeamFoundationRequestContext, 
    identity : TeamFoundationIdentity
) : 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