SecurityContextTokenServiceClient.BeginIssueSecurityContextToken Method (AppliesTo, AsyncCallback, Object)
Begins a digitally signed asynchronous request for a SecurityContextToken security token from a security token service. If the request is successful, an entropy value is returned in an <Entropy> element.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim appliesTo As AppliesTo
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
Dim securityContextTokenServiceClient1 As SecurityContextTokenServiceClient
returnValue = securityContextTokenServiceClient1.BeginIssueSecurityContextToken(appliesTo, callback, state)
Syntax
'Declaration
Overloads Public Overridable Function BeginIssueSecurityContextToken( _
ByVal appliesTo As AppliesTo, _
ByVal callback As AsyncCallback, _
ByVal state As Object _
) As IAsyncResult
public virtual IAsyncResult BeginIssueSecurityContextToken(
AppliesTo appliesTo,
AsyncCallback callback,
object state
);
public:
virtual IAsyncResult^ BeginIssueSecurityContextToken(
AppliesTo^ appliesTo,
AsyncCallback^ callback,
Object^ state
);
public virtual IAsyncResult BeginIssueSecurityContextToken(
AppliesTo appliesTo,
AsyncCallback callback,
System.Object state
);
public function BeginIssueSecurityContextToken(
appliesTo : AppliesTo,
callback : AsyncCallback,
state : Object
) : IAsyncResult;
Parameters
- appliesTo
An AppliesTo that specifies the Web service the requested security token will be used to communicate with.
- callback
An AsyncCallback that is called when the asynchronous operation is completed. If callback is null, the delegate is not called.
- state
An object that contains state information for this request.
Return Value
The SecurityContextToken issued by the security token service.
Remarks
The SecurityContextToken issued by the security token service is used to exchange SOAP messages with the Web service that is specified by the appliesTo parameter
To request a SecurityContextToken security token, call one of the IssueSecurityContextToken overloads.
When the issuerToken parameter is null, the RequestSecurityContextToken method expects the SecurityContextToken to be returned within a <ProofToken> element.
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
SecurityContextTokenServiceClient Class
SecurityContextTokenServiceClient Members
Microsoft.Web.Services3.Security Namespace