4 types derived from SecurityTokenResolver
System.ServiceModel.Primitives (3)
System\IdentityModel\Selectors\SecurityTokenResolver.cs (1)
93private class SimpleTokenResolver : SecurityTokenResolver
System\IdentityModel\Tokens\AggregateTokenResolver.cs (1)
16public class AggregateTokenResolver : SecurityTokenResolver
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (1)
15internal sealed class SecurityHeaderTokenResolver : SecurityTokenResolver, IdentityModel.IWrappedTokenKeyResolver
System.ServiceModel.Primitives.Tests (1)
IdentityModel\SecurityTokenManagerTest.cs (1)
76public class SecurityTokenResolverImpl : SecurityTokenResolver
59 references to SecurityTokenResolver
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
278SecurityTokenResolver dummy;
System.ServiceModel.Primitives (54)
System\IdentityModel\Selectors\EmptySecurityTokenResolver.cs (2)
11public static SecurityTokenResolver Instance { get; } = SecurityTokenResolver.CreateDefaultSecurityTokenResolver(EmptyReadOnlyCollection<SecurityToken>.Instance, false);
System\IdentityModel\Selectors\SecurityTokenManager.cs (1)
15public abstract SecurityTokenAuthenticator CreateSecurityTokenAuthenticator(SecurityTokenRequirement tokenRequirement, out SecurityTokenResolver outOfBandTokenResolver);
System\IdentityModel\Selectors\SecurityTokenResolver.cs (1)
88public static SecurityTokenResolver CreateDefaultSecurityTokenResolver(ReadOnlyCollection<SecurityToken> tokens, bool canMatchLocalId)
System\IdentityModel\Selectors\SecurityTokenSerializer.cs (2)
77public SecurityToken ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver) 152protected abstract SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver);
System\IdentityModel\Tokens\AggregateTokenResolver.cs (9)
18private List<SecurityTokenResolver> _tokenResolvers = new List<SecurityTokenResolver>(); 27public AggregateTokenResolver(IEnumerable<SecurityTokenResolver> tokenResolvers) 40public ReadOnlyCollection<SecurityTokenResolver> TokenResolvers 64foreach (SecurityTokenResolver tokenResolver in _tokenResolvers) 91foreach (SecurityTokenResolver tokenResolver in _tokenResolvers) 118foreach (SecurityTokenResolver tokenResolver in _tokenResolvers) 129private void AddNonEmptyResolvers(IEnumerable<SecurityTokenResolver> resolvers) 131foreach (SecurityTokenResolver resolver in resolvers)
System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
116protected override SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (1)
269public override SecurityTokenAuthenticator CreateSecurityTokenAuthenticator(SecurityTokenRequirement tokenRequirement, out SecurityTokenResolver outOfBandTokenResolver)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (5)
61private ReadOnlyCollection<SecurityTokenResolver> _outOfBandTokenResolver; 62private SecurityTokenResolver _combinedPrimaryTokenResolver; 196public SecurityTokenResolver CombinedUniversalTokenResolver { get; private set; } 757private SecurityToken ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver, IList<SecurityTokenAuthenticator> allowedTokenAuthenticators, out SecurityTokenAuthenticator usedTokenAuthenticator) 1024public AggregateSecurityHeaderTokenResolver(SecurityHeaderTokenResolver tokenResolver, ReadOnlyCollection<SecurityTokenResolver> outOfBandTokenResolvers) :
System\ServiceModel\Security\RequestSecurityToken.cs (1)
374internal SecurityToken GetRequestorEntropy(SecurityTokenResolver resolver)
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (2)
445internal SecurityToken GetIssuerEntropy(SecurityTokenResolver resolver) 631public virtual GenericXmlSecurityToken GetIssuedToken(SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy, string expectedTokenType,
System\ServiceModel\Security\SecurityProtocol.cs (6)
525protected ReadOnlyCollection<SecurityTokenResolver> MergeOutOfBandResolvers(IList<SupportingTokenAuthenticatorSpecification> supportingAuthenticators, ReadOnlyCollection<SecurityTokenResolver> primaryResolvers) 527Collection<SecurityTokenResolver> outOfBandResolvers = null; 534outOfBandResolvers = outOfBandResolvers ?? new Collection<SecurityTokenResolver>(); 549return new ReadOnlyCollection<SecurityTokenResolver>(outOfBandResolvers); 553return primaryResolvers ?? EmptyReadOnlyCollection<SecurityTokenResolver>.Instance;
System\ServiceModel\Security\SecurityUtils.cs (1)
707public static bool TryCreateKeyFromIntrinsicKeyClause(SecurityKeyIdentifierClause keyIdentifierClause, SecurityTokenResolver resolver, out SecurityKey key)
System\ServiceModel\Security\SupportingTokenAuthenticatorSpecification.cs (3)
15public SupportingTokenAuthenticatorSpecification(SecurityTokenAuthenticator tokenAuthenticator, SecurityTokenResolver securityTokenResolver, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters) 20internal SupportingTokenAuthenticatorSpecification(SecurityTokenAuthenticator tokenAuthenticator, SecurityTokenResolver securityTokenResolver, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters, bool isTokenOptional) 32public SecurityTokenResolver TokenResolver { get; }
System\ServiceModel\Security\TrustDriver.cs (3)
126public abstract SecurityToken GetEntropy(RequestSecurityToken rst, SecurityTokenResolver resolver); 129public abstract SecurityToken GetEntropy(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver); 132public abstract GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy,
System\ServiceModel\Security\WSSecureConversation.cs (5)
46public virtual void ReadDerivedKeyTokenParameters(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, out string id, out string derivationAlgorithm, out string label, out int length, out byte[] nonce, out int offset, out int generation, out SecurityKeyIdentifierClause tokenToDeriveIdentifier, out SecurityToken tokenToDerive) 115public virtual void ReadDerivedKeyTokenParameters(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, out string id, out string derivationAlgorithm, out string label, out int length, out byte[] nonce, out int offset, out int generation, out SecurityKeyIdentifierClause tokenToDeriveIdentifier, out SecurityToken tokenToDerive) 226public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 358SecurityContextSecurityToken TryResolveSecurityContextToken(UniqueId contextId, UniqueId generation, string id, SecurityTokenResolver tokenResolver, out ISecurityContextSecurityTokenCache sctCache) 405public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
System\ServiceModel\Security\WSSecurityJan2004.cs (3)
133public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 217public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 272public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (3)
201protected override SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver) 493public virtual Task<SecurityToken> ReadTokenCoreAsync(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 500public abstract SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver);
System\ServiceModel\Security\WSTrust.cs (5)
111public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) 507public override SecurityToken GetEntropy(RequestSecurityToken rst, SecurityTokenResolver resolver) 517public override SecurityToken GetEntropy(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver) 527private SecurityToken GetEntropy(XmlElement rootElement, SecurityTokenResolver resolver) 595public override GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy, string expectedTokenType,
System.ServiceModel.Primitives.Tests (4)
IdentityModel\SecurityTokenManagerTest.cs (2)
22SecurityTokenAuthenticator authenticator = tokenManager.CreateSecurityTokenAuthenticator(tokenRequirement, out SecurityTokenResolver resolver); 35public override SecurityTokenAuthenticator CreateSecurityTokenAuthenticator(SecurityTokenRequirement tokenRequirement, out SecurityTokenResolver outOfBandTokenResolver)
IdentityModel\SecurityTokenSerializerTest.cs (2)
36SecurityToken token = sts.ReadToken(xmlReader, SecurityTokenResolver.CreateDefaultSecurityTokenResolver(new ReadOnlyCollection<SecurityToken>(new List<SecurityToken>() { dummyToken}), false)); 121protected override SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver)