Share via


UsernameForCertificateAssertion.X509TokenProvider Property

Gets or sets the security token provider for the Web service'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 X509SecurityToken)
returnValue = usernameForCertificateAssertion1.X509TokenProvider

Dim sampleValue As TokenProvider(Of X509SecurityToken)
usernameForCertificateAssertion1.X509TokenProvider = sampleValue

Syntax

'Declaration
Public Property X509TokenProvider() As TokenProvider(Of X509SecurityToken)
public TokenProvider<X509SecurityToken> X509TokenProvider {get; set;}
public:
property TokenProvider<X509SecurityToken^>^ X509TokenProvider {
    TokenProvider<X509SecurityToken^>^ get();
    void set(TokenProvider<X509SecurityToken^>^ value);
}
public TokenProvider<X509SecurityToken> get_X509TokenProvider();
public void set_X509TokenProvider(TokenProvider<X509SecurityToken>);
JScript does not support Generics.

Property Value

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

Remarks

For this turnkey security assertion, the Web service's security credentials are specified using a X509SecurityToken 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