SecurityTokenServiceClient.EnforceRequestIntegrity Method
Signs the request being made to the security token request.
Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Public Class securityTokenServiceClientImplementation
Inherits SecurityTokenServiceClient
Protected Overrides Sub EnforceRequestIntegrity(request As SecurityTokenMessage)
MyBase.EnforceRequestIntegrity(request)
End Sub
End Class
Syntax
'Declaration
Protected Overridable Sub EnforceRequestIntegrity( _
ByVal request As SecurityTokenMessage _
)
protected virtual void EnforceRequestIntegrity(
SecurityTokenMessage request
);
protected: Void EnforceRequestIntegrity(
SecurityTokenMessage^ request
);
protected void EnforceRequestIntegrity(
SecurityTokenMessage request
);
protected function EnforceRequestIntegrity(
request : SecurityTokenMessage
);
Parameters
- request
A SecurityTokenMessage that represents the request being made to the security token service.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentNullException | request is null. |
Remarks
The request is signed using the RequestSigningToken property. If the RequestSigningToken property is null, the request is not signed.
The EnforceRequestIntegrity method is called by the EnforceRequestPolicy method.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
See Also
Reference
SecurityTokenServiceClient Class
Microsoft.Web.Services2.Security Namespace