Partilhar via


TokenProvider.GetToken Method

When overridden in a derived class, gets a security token.

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

Usage

'Usage
Public Class SomeType1
    Inherits SecurityToken
End Class
Dim returnValue As SomeType1
Dim tokenProvider1 As TokenProvider(Of SomeType1)
returnValue = tokenProvider1.GetToken()

Syntax

'Declaration
Public MustOverride Function GetToken() As TToken
public abstract TToken GetToken();
public:
virtual TToken GetToken() abstract;
public abstract TToken GetToken();
JScript does not support Generics.

Return Value

A TokenProvider of type SecurityToken that represents the security token associated with the security token provider.

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 Class
TokenProvider Members
Microsoft.Web.Services3.Design Namespace