SecurityTokenServiceClient.RequestSecurityToken Method
Sends a security token request to a security token service.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Public Class securityTokenServiceClientImplementation
Inherits SecurityTokenServiceClient
Protected Overrides Function RequestSecurityToken(request As SecurityTokenMessage, _
methodName As String)
MyBase.RequestSecurityToken(request, methodName)
End Function
End Class
Syntax
'Declaration
Protected Function RequestSecurityToken( _
ByVal request As SecurityTokenMessage, _
ByVal methodName As String _
) As RequestSecurityTokenResponse
protected RequestSecurityTokenResponse RequestSecurityToken(
SecurityTokenMessage request,
string methodName
);
protected:
RequestSecurityTokenResponse^ RequestSecurityToken(
SecurityTokenMessage^ request,
String^ methodName
);
protected RequestSecurityTokenResponse RequestSecurityToken(
SecurityTokenMessage request,
System.String methodName
);
protected function RequestSecurityToken(
request : SecurityTokenMessage,
methodName : String
) : RequestSecurityTokenResponse;
Parameters
- request
A SecurityTokenMessage that contains the details of the request to send.
- methodName
The type of security token request.
Return Value
A RequestSecurityTokenResponse that contains the details of the response to the security token request.
Remarks
The RequestSecurityToken method is used by SOAP message senders to obtain a security token from a security token service. The received token is used to communicate with a target Web service.
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 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
SecurityTokenServiceClient Class
SecurityTokenServiceClient Members
Microsoft.Web.Services3.Security Namespace