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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- identity
Type: Microsoft.VisualStudio.Services.Identity.Identity
- clientId
Type: System.String
.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.