SecurityTokenHandlerCollection.Item Property (Type)

.NET Framework (current version)
 

Gets the handler from this collection that can handle the specified token type.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public SecurityTokenHandler this[
	Type tokenType
] { get; }

Parameters

tokenType
Type: System.Type

The type of the token to be handled.

Property Value

Type: System.IdentityModel.Tokens.SecurityTokenHandler

A token handler that can handle tokens of the specified type.

.NET Framework
Available since 4.5
Return to top
Show: