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

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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft