Esta documentación está archivada y no tiene mantenimiento.

ServiceCredentialsSecurityTokenManager.CreateSecurityTokenProvider (Método)

Creates a security token provider based on the SecurityTokenRequirement.

Espacio de nombres: System.ServiceModel.Security
Ensamblado: System.ServiceModel (en system.servicemodel.dll)

public override SecurityTokenProvider CreateSecurityTokenProvider (
	SecurityTokenRequirement requirement
)
public SecurityTokenProvider CreateSecurityTokenProvider (
	SecurityTokenRequirement requirement
)
public override function CreateSecurityTokenProvider (
	requirement : SecurityTokenRequirement
) : SecurityTokenProvider
No aplicable.

Parámetros

requirement

The SecurityTokenRequirement.

Valor devuelto

The SecurityTokenProvider.

Tipo de excepciónCondición

ArgumentNullException

requirement is referencia null (Nothing en Visual Basic).

NotSupportedException

A security token provider cannot be created for the requirement that was passed in.

The SecurityTokenProvider class is responsible for obtaining tokens for a given ServiceModelSecurityTokenRequirement. Optionally, token providers can support renewing and canceling tokens as well. The token provider can cache tokens if it is configured to do so.

Windows 98, Windows 2000 Service Pack 4, Windows CE, Windows Millennium, Windows Mobile para Pocket PC, Windows Mobile para Smartphone, Windows Server 2003, Windows XP Media Center, Windows XP Professional x64, Windows XP SP2, Windows XP Starter

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0
Mostrar: