AggregateTokenResolver Class
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.
Represents a security token resolver that can wrap multiple token resolvers and resolve tokens across all of the wrapped resolvers.
public ref class AggregateTokenResolver : System::IdentityModel::Selectors::SecurityTokenResolver
public class AggregateTokenResolver : System.IdentityModel.Selectors.SecurityTokenResolver
type AggregateTokenResolver = class
inherit SecurityTokenResolver
Public Class AggregateTokenResolver
Inherits SecurityTokenResolver
- Inheritance
Remarks
A SecurityTokenResolver object represents a utility class that can retrieve security tokens or keys when you have a key identifier or key identifier clause. The AggregateTokenResolver wraps several SecurityTokenResolver objects. The token resolvers to be wrapped are specified in the constructor. The TokenResolvers property returns the collection of token resolvers that are wrapped by the aggregate resolver.
Constructors
AggregateTokenResolver(IEnumerable<SecurityTokenResolver>) |
Initializes a new instance of the AggregateTokenResolver class by using the specified list of token resolvers. |
Properties
TokenResolvers |
Gets the security token resolvers that are wrapped by this instance. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
LoadCustomConfiguration(XmlNodeList) |
When overridden in a derived class, loads custom configuration from XML. (Inherited from SecurityTokenResolver) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ResolveSecurityKey(SecurityKeyIdentifierClause) |
Obtains the key that is referenced in the specified key identifier clause. (Inherited from SecurityTokenResolver) |
ResolveToken(SecurityKeyIdentifier) |
Retrieves a security token that matches one of the security key identifier clauses contained within the specified key identifier. (Inherited from SecurityTokenResolver) |
ResolveToken(SecurityKeyIdentifierClause) |
Retrieves the security token that matches the specified key identifier clause. (Inherited from SecurityTokenResolver) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
TryResolveSecurityKey(SecurityKeyIdentifierClause, SecurityKey) |
Attempts to retrieve the key that is referenced in the specified key identifier clause. (Inherited from SecurityTokenResolver) |
TryResolveSecurityKeyCore(SecurityKeyIdentifierClause, SecurityKey) |
Attempts to retrieve the key that is referenced in the specified key identifier clause. |
TryResolveToken(SecurityKeyIdentifier, SecurityToken) |
Attempts to retrieve the security token that matches one of the key identifier clauses contained within the specified key identifier. (Inherited from SecurityTokenResolver) |
TryResolveToken(SecurityKeyIdentifierClause, SecurityToken) |
Attempts to retrieve the security token that matches the specified key identifier clause. (Inherited from SecurityTokenResolver) |
TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken) |
Attempts to retrieve the security token that matches at least one of the key identifier clauses contained within the specified key identifier. |
TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken) |
Attempts to resolve the security token that matches the specified key identifier clause. |
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기