Delen via


TeamFoundationOAuthService.RevokeApplication Method

Revokes any tokens associated with the given application for the user

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

Syntax

'Declaration
Public Sub RevokeApplication ( _
    requestContext As TeamFoundationRequestContext, _
    identity As Identity, _
    clientId As String _
)
public void RevokeApplication(
    TeamFoundationRequestContext requestContext,
    Identity identity,
    string clientId
)
public:
void RevokeApplication(
    TeamFoundationRequestContext^ requestContext, 
    Identity^ identity, 
    String^ clientId
)
member RevokeApplication : 
        requestContext:TeamFoundationRequestContext * 
        identity:Identity * 
        clientId:string -> unit
public function RevokeApplication(
    requestContext : TeamFoundationRequestContext, 
    identity : Identity, 
    clientId : String
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationOAuthService Class

Microsoft.TeamFoundation.Framework.Server Namespace