Condividi tramite


TokenIssuerConfiguration.GetServiceToken Method

Gets the service token that is configured for a specific endpoint. A token issuer can be configured with many service tokens, each of them for a different endpoint.

Namespace: Microsoft.Web.Services3.Security.Configuration
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim appliesTo As AppliesTo
Dim returnValue As SecurityToken
Dim tokenIssuerConfiguration1 As TokenIssuerConfiguration
returnValue = tokenIssuerConfiguration1.GetServiceToken(appliesTo)

Syntax

'Declaration
Public Function GetServiceToken( _
    ByVal appliesTo As AppliesTo _
) As SecurityToken
public SecurityToken GetServiceToken(
    AppliesTo appliesTo
);
public:
SecurityToken^ GetServiceToken(
    AppliesTo^ appliesTo
);
public SecurityToken GetServiceToken(
    AppliesTo appliesTo
);
public function GetServiceToken(
     appliesTo : AppliesTo
) : SecurityToken;

Parameters

  • appliesTo

Return Value

The service token that is configured for a specific endpoint.

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

TokenIssuerConfiguration Class
TokenIssuerConfiguration Members
Microsoft.Web.Services3.Security.Configuration Namespace