Condividi tramite


UsernameForCertificateAssertion.UsernameTokenProvider Property

Gets or sets the security token provider for the client's security credentials.

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

Usage

'Usage
Dim usernameForCertificateAssertion1 As UsernameForCertificateAssertion

Dim returnValue As TokenProvider(Of UsernameToken)
returnValue = usernameForCertificateAssertion1.UsernameTokenProvider

Dim sampleValue As TokenProvider(Of UsernameToken)
usernameForCertificateAssertion1.UsernameTokenProvider = sampleValue

Syntax

'Declaration
Public Property UsernameTokenProvider() As TokenProvider(Of UsernameToken)
public TokenProvider<UsernameToken> UsernameTokenProvider {get; set;}
public:
property TokenProvider<UsernameToken^>^ UsernameTokenProvider {
    TokenProvider<UsernameToken^>^ get();
    void set(TokenProvider<UsernameToken^>^ value);
}
public TokenProvider<UsernameToken> get_UsernameTokenProvider();
public void set_UsernameTokenProvider(TokenProvider<UsernameToken>);
JScript does not support Generics.

Property Value

A TokenProvider of type UsernameToken that represents the Web service client's security credentials.

Remarks

For this turnkey security assertion, the Web service client's security credentials are specified using a UsernameToken security token.

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

UsernameForCertificateAssertion Class
UsernameForCertificateAssertion Members
Microsoft.Web.Services3.Design Namespace