GenericTokenServiceClient.IssueGenericToken Method
Requests a security token from a security token service.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim tokenType As String
Dim appliesTo As AppliesTo
Dim returnValue As IssuedToken
Dim genericTokenServiceClient1 As GenericTokenServiceClient
returnValue = genericTokenServiceClient1.IssueGenericToken(tokenType, appliesTo)
Syntax
'Declaration
Public Function IssueGenericToken( _
ByVal tokenType As String, _
ByVal appliesTo As AppliesTo _
) As IssuedToken
public IssuedToken IssueGenericToken(
string tokenType,
AppliesTo appliesTo
);
public:
IssuedToken^ IssueGenericToken(
String^ tokenType,
AppliesTo^ appliesTo
);
public IssuedToken IssueGenericToken(
System.String tokenType,
AppliesTo appliesTo
);
public function IssueGenericToken(
tokenType : String,
appliesTo : AppliesTo
) : IssuedToken;
Parameters
- tokenType
The type of security token to request.
- appliesTo
An AppliesTo that represents the Web service that the security token is used to communicate with.
Return Value
The IssuedToken that contains the security token from the security token 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
GenericTokenServiceClient Class
GenericTokenServiceClient Members
Microsoft.Web.Services3.Security Namespace