TeamFoundationOAuthService.DeleteToken Method
DeleteToken will remove a token from the store. This will revoke any privileges this token was granted.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub DeleteToken ( _
requestContext As TeamFoundationRequestContext, _
token As String _
)
public void DeleteToken(
TeamFoundationRequestContext requestContext,
string token
)
public:
void DeleteToken(
TeamFoundationRequestContext^ requestContext,
String^ token
)
member DeleteToken :
requestContext:TeamFoundationRequestContext *
token:string -> unit
public function DeleteToken(
requestContext : TeamFoundationRequestContext,
token : String
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextRequest Context may be any host type.
token
Type: System.StringThe token to delete.
.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.