SecurityTokenResolver.CreateDefaultSecurityTokenResolver メソッド

定義

指定したセキュリティ トークンの既定のセキュリティ トークン リゾルバーを作成します。

public:
 static System::IdentityModel::Selectors::SecurityTokenResolver ^ CreateDefaultSecurityTokenResolver(System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityToken ^> ^ tokens, bool canMatchLocalId);
public static System.IdentityModel.Selectors.SecurityTokenResolver CreateDefaultSecurityTokenResolver(System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityToken> tokens, bool canMatchLocalId);
static member CreateDefaultSecurityTokenResolver : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityToken> * bool -> System.IdentityModel.Selectors.SecurityTokenResolver
Public Shared Function CreateDefaultSecurityTokenResolver (tokens As ReadOnlyCollection(Of SecurityToken), canMatchLocalId As Boolean) As SecurityTokenResolver

パラメーター

tokens
ReadOnlyCollection<SecurityToken>

このセキュリティ トークン リゾルバーがキー識別子とキー識別子句を解決できるセキュリティ トークンのセットを含むSecurityToken型のReadOnlyCollection<T>

canMatchLocalId
Boolean

true SOAP メッセージ内の別の場所にあるセキュリティ キーを参照する <SecurityTokenReference> キー識別子句を解決する場合は。それ以外の場合は false

返品

tokens パラメーターで指定されたセキュリティ トークンに一致するキー識別子と句を解決するSecurityTokenResolver

注釈

このメソッドから返されるセキュリティ トークン リゾルバーは、指定されたセキュリティ トークンの MatchesKeyIdentifierClause メソッドと ResolveKeyIdentifierClause メソッドを使用して、キー識別子とキー識別子句を解決します。

適用対象