SecurityTokenResolver.CreateDefaultSecurityTokenResolver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a default security token resolver for the specified security tokens.
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
Parameters
- tokens
- ReadOnlyCollection<SecurityToken>
A ReadOnlyCollection<T> of type SecurityToken that contains the set of security tokens for which this security token resolver can resolve key identifiers and key identifier clauses to.
- canMatchLocalId
- Boolean
true
to resolve the <SecurityTokenReference>
key identifier clauses that reference a security key that is located somewhere else in the SOAP message; otherwise, false
.
Returns
A SecurityTokenResolver that resolves key identifiers and clauses that match the security tokens specified in the tokens
parameter.
Remarks
The security token resolver that is returned from this method, uses the MatchesKeyIdentifierClause and ResolveKeyIdentifierClause methods on the specified security tokens to resolve key identifiers and key identifier clauses.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示