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