SecurityTokenResolver Class

Represents a utility class that can retrieve security tokens or keys when you have a key identifier or key identifier clause.

Namespace: System.IdentityModel.Selectors
Assembly: System.IdentityModel (in system.identitymodel.dll)

public abstract class SecurityTokenResolver
public abstract class SecurityTokenResolver
public abstract class SecurityTokenResolver
Not applicable.

Use the SecurityTokenResolver class to retrieve a key or security token when you have a key identifier or key identifier clause. The ResolveToken and TryResolveToken methods retrieve a token given that there is a key identifier or key identifier clause. The ResolveSecurityKey and TryResolveSecurityKey retrieve a key given that there is a key identifier clause. The methods with a Try prefix return false when the retrieval is unsuccessful, whereas the methods without a Try prefix throw an exception.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: