TokenProvider Generic Class

Represents a security token provider.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim tokenProvider1 As New TokenProvider(Of SomeType1)()

Syntax

'Declaration
MustInherit Public Class TokenProvider(Of TToken As SecurityToken)
public abstract class TokenProvider<TToken>
    where TToken : SecurityToken
generic<typename TToken>
public  where TToken : SecurityToken
ref class TokenProvider abstract
public abstract class TokenProvider<TToken>
    where TToken extends SecurityToken
JScript does not support Generics.

Remarks

Use a security token provider to provide security credentials for a policy. For instance, use the X509TokenProvider class to provide security credentials in the form of an X.509 certificate for a policy.

For more information about securing a Web service using a policy file, see How to: Secure a Web Service Using a Policy File. For more details about securing a Web service without a policy file, see How to: Secure a Web Service Without Using a Policy File.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services3.Design.TokenProvider
     Microsoft.Web.Services3.Design.KerberosTokenProvider
     Microsoft.Web.Services3.Design.UsernameTokenProvider
     Microsoft.Web.Services3.Design.X509TokenProvider

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

TokenProvider Members
Microsoft.Web.Services3.Design Namespace
X509TokenProvider
UsernameTokenProvider
KerberosTokenProvider