Redigeeri

Jagamisviis:


SecurityTokenHandlerCollection.Item[] Property

Definition

Gets a token handler from the collection that can handle a specified token, token type, or token type identifier.

Overloads

Item[SecurityToken]

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

Item[String]

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

Item[Type]

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

Item[SecurityToken]

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

public:
 property System::IdentityModel::Tokens::SecurityTokenHandler ^ default[System::IdentityModel::Tokens::SecurityToken ^] { System::IdentityModel::Tokens::SecurityTokenHandler ^ get(System::IdentityModel::Tokens::SecurityToken ^ token); };
public System.IdentityModel.Tokens.SecurityTokenHandler this[System.IdentityModel.Tokens.SecurityToken token] { get; }
member this.Item(System.IdentityModel.Tokens.SecurityToken) : System.IdentityModel.Tokens.SecurityTokenHandler
Default Public ReadOnly Property Item(token As SecurityToken) As SecurityTokenHandler

Parameters

token
SecurityToken

The token for which the handler should be returned.

Property Value

A token handler that can handle the specified token.

Applies to

Item[String]

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

public:
 property System::IdentityModel::Tokens::SecurityTokenHandler ^ default[System::String ^] { System::IdentityModel::Tokens::SecurityTokenHandler ^ get(System::String ^ tokenTypeIdentifier); };
public System.IdentityModel.Tokens.SecurityTokenHandler this[string tokenTypeIdentifier] { get; }
member this.Item(string) : System.IdentityModel.Tokens.SecurityTokenHandler
Default Public ReadOnly Property Item(tokenTypeIdentifier As String) As SecurityTokenHandler

Parameters

tokenTypeIdentifier
String

A URI that identifies the token type.

Property Value

A token handler that can handle tokens that correspond to the specified type identifier.

Applies to

Item[Type]

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

public:
 property System::IdentityModel::Tokens::SecurityTokenHandler ^ default[Type ^] { System::IdentityModel::Tokens::SecurityTokenHandler ^ get(Type ^ tokenType); };
public System.IdentityModel.Tokens.SecurityTokenHandler this[Type tokenType] { get; }
member this.Item(Type) : System.IdentityModel.Tokens.SecurityTokenHandler
Default Public ReadOnly Property Item(tokenType As Type) As SecurityTokenHandler

Parameters

tokenType
Type

The type of the token to be handled.

Property Value

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

Applies to