11 types derived from SecurityToken
dotnet-svcutil-lib (11)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (1)
15
public class KerberosRequestorSecurityToken :
SecurityToken
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SamlSecurityToken.cs (1)
25
public class SamlSecurityToken :
SecurityToken
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\UserNameSecurityToken.cs (1)
10
public class UserNameSecurityToken :
SecurityToken
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\WindowsSecurityToken.NetNative.cs (1)
13
public class WindowsSecurityToken :
SecurityToken
, IDisposable
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\X509SecurityToken.cs (1)
12
public class X509SecurityToken :
SecurityToken
, IDisposable
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\BinarySecretSecurityToken.cs (1)
13
public class BinarySecretSecurityToken :
SecurityToken
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (1)
21
internal sealed class DerivedKeySecurityToken :
SecurityToken
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\GenericXmlSecurityToken.cs (1)
19
public class GenericXmlSecurityToken :
SecurityToken
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
15
public class SecurityContextSecurityToken :
SecurityToken
, TimeBoundedCache.IExpirableItem, IDisposable
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SspiSecurityToken.cs (1)
12
public class SspiSecurityToken :
SecurityToken
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\WrappedKeySecurityToken.cs (1)
16
public class WrappedKeySecurityToken :
SecurityToken
145 references to SecurityToken
dotnet-svcutil-lib (145)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\KerberosSecurityTokenProvider.cs (2)
61
internal
SecurityToken
GetToken(CancellationToken cancellationToken, ChannelBinding channelbinding)
68
protected override Task<
SecurityToken
> GetTokenCoreAsync(CancellationToken cancellationToken)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenAuthenticator.cs (4)
18
public bool CanValidateToken(
SecurityToken
token)
27
public ReadOnlyCollection<IAuthorizationPolicy> ValidateToken(
SecurityToken
token)
72
protected abstract bool CanValidateTokenCore(
SecurityToken
token);
73
protected abstract ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(
SecurityToken
token);
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenProvider.cs (10)
26
public async Task<
SecurityToken
> GetTokenAsync(CancellationToken cancellationToken)
28
SecurityToken
token = await this.GetTokenCoreAsync(cancellationToken);
36
public async Task<
SecurityToken
> RenewTokenAsync(CancellationToken cancellationToken,
SecurityToken
tokenToBeRenewed)
42
SecurityToken
token = await this.RenewTokenCoreAsync(cancellationToken, tokenToBeRenewed);
50
public async Task CancelTokenAsync(CancellationToken cancellationToken,
SecurityToken
securityToken)
60
protected abstract Task<
SecurityToken
> GetTokenCoreAsync(CancellationToken cancellationToken);
62
protected virtual Task<
SecurityToken
> RenewTokenCoreAsync(CancellationToken cancellationToken,
SecurityToken
tokenToBeRenewed)
67
protected virtual Task CancelTokenCoreAsync(CancellationToken cancellationToken,
SecurityToken
token)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenResolver.cs (16)
14
public
SecurityToken
ResolveToken(SecurityKeyIdentifier keyIdentifier)
20
SecurityToken
token;
28
public bool TryResolveToken(SecurityKeyIdentifier keyIdentifier, out
SecurityToken
token)
37
public
SecurityToken
ResolveToken(SecurityKeyIdentifierClause keyIdentifierClause)
43
SecurityToken
token;
51
public bool TryResolveToken(SecurityKeyIdentifierClause keyIdentifierClause, out
SecurityToken
token)
93
protected abstract bool TryResolveTokenCore(SecurityKeyIdentifier keyIdentifier, out
SecurityToken
token);
94
protected abstract bool TryResolveTokenCore(SecurityKeyIdentifierClause keyIdentifierClause, out
SecurityToken
token);
97
public static SecurityTokenResolver CreateDefaultSecurityTokenResolver(ReadOnlyCollection<
SecurityToken
> tokens, bool canMatchLocalId)
104
private ReadOnlyCollection<
SecurityToken
> _tokens;
107
public SimpleTokenResolver(ReadOnlyCollection<
SecurityToken
> tokens, bool canMatchLocalId)
156
protected override bool TryResolveTokenCore(SecurityKeyIdentifier keyIdentifier, out
SecurityToken
token)
164
SecurityToken
securityToken = ResolveSecurityToken(keyIdentifier[i]);
175
protected override bool TryResolveTokenCore(SecurityKeyIdentifierClause keyIdentifierClause, out
SecurityToken
token)
182
SecurityToken
securityToken = ResolveSecurityToken(keyIdentifierClause);
189
private
SecurityToken
ResolveSecurityToken(SecurityKeyIdentifierClause keyIdentifierClause)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenSerializer.cs (6)
30
public bool CanWriteToken(
SecurityToken
token)
76
public
SecurityToken
ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver)
85
public void WriteToken(XmlWriter writer,
SecurityToken
token)
145
protected abstract bool CanWriteTokenCore(
SecurityToken
token);
151
protected abstract
SecurityToken
ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver);
152
protected abstract void WriteTokenCore(XmlWriter writer,
SecurityToken
token);
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\UserNameSecurityTokenProvider.cs (2)
26
protected override Task<
SecurityToken
> GetTokenCoreAsync(CancellationToken cancellationToken)
28
return Task.FromResult((
SecurityToken
)_userNameToken);
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\WindowsSecurityTokenAuthenticator.cs (2)
28
protected override bool CanValidateTokenCore(
SecurityToken
token)
33
protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(
SecurityToken
token)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (2)
53
protected override bool CanValidateTokenCore(
SecurityToken
token)
58
protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(
SecurityToken
token)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\X509SecurityTokenProvider.cs (2)
63
protected override async Task<
SecurityToken
> GetTokenCoreAsync(CancellationToken cancellationToken)
65
return await Task.FromResult<
SecurityToken
>(new X509SecurityToken(_certificate));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\KeyInfoSerializer.cs (3)
132
protected override
SecurityToken
ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver)
137
protected override bool CanWriteTokenCore(
SecurityToken
token)
142
protected override void WriteTokenCore(XmlWriter writer,
SecurityToken
token)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
136
SecurityToken
token = null;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (5)
257
private void SetupServerCertificate(
SecurityToken
token)
288
SecurityToken
token = _serverTokenProvider.GetTokenAsync(cts.Token).GetAwaiter().GetResult();
406
SecurityToken
token = new X509SecurityToken(certificate2, false);
428
SecurityToken
token = new X509SecurityToken(_clientCertificate);
641
SecurityToken
token = new X509SecurityToken(certificate2, false);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (2)
228
where T :
SecurityToken
230
SecurityToken
result = await tokenProvider.GetTokenAsync(cancellationToken);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (3)
272
internal Task<
SecurityToken
> GetTokenAsync(CancellationToken cancellationToken, ChannelBinding channelbinding)
274
return Task.FromResult((
SecurityToken
)new KerberosRequestorSecurityToken(_innerProvider.ServicePrincipalName,
278
protected override Task<
SecurityToken
> GetTokenCoreAsync(CancellationToken cancellationToken)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityToken.cs (2)
420
public
SecurityToken
GetRequestorEntropy()
425
internal
SecurityToken
GetRequestorEntropy(SecurityTokenResolver resolver)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\RequestSecurityTokenResponse.cs (6)
27
private
SecurityToken
_issuedToken;
28
private
SecurityToken
_proofToken;
313
public
SecurityToken
EntropyToken
325
public
SecurityToken
RequestedSecurityToken
343
public
SecurityToken
RequestedProofToken
422
internal
SecurityToken
GetIssuerEntropy(SecurityTokenResolver resolver)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityAlgorithmSuite.cs (6)
245
internal string GetEncryptionKeyDerivationAlgorithm(
SecurityToken
token, SecureConversationVersion version)
257
internal int GetEncryptionKeyDerivationLength(
SecurityToken
token, SecureConversationVersion version)
274
internal void GetKeyWrapAlgorithm(
SecurityToken
token, out string keyWrapAlgorithm, out XmlDictionaryString keyWrapAlgorithmDictionaryString)
291
internal void GetSignatureAlgorithmAndKey(
SecurityToken
token, out string signatureAlgorithm, out SecurityKey key, out XmlDictionaryString signatureAlgorithmDictionaryString)
320
internal string GetSignatureKeyDerivationAlgorithm(
SecurityToken
token, SecureConversationVersion version)
332
internal int GetSignatureKeyDerivationLength(
SecurityToken
token, SecureConversationVersion version)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityTokenSpecification.cs (3)
13
private
SecurityToken
_token;
16
public SecurityTokenSpecification(
SecurityToken
token, ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies)
26
public
SecurityToken
SecurityToken
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
461
internal static bool IsSupportedAlgorithm(string algorithm,
SecurityToken
token)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SspiSecurityTokenProvider.cs (2)
34
protected override Task<
SecurityToken
> GetTokenCoreAsync(CancellationToken cancellationToken)
36
return Task.FromResult<
SecurityToken
>(_token);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SupportingTokenSpecification.cs (2)
18
public SupportingTokenSpecification(
SecurityToken
token, ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies, SecurityTokenAttachmentMode attachmentMode)
22
public SupportingTokenSpecification(
SecurityToken
token, ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (2)
46
private
SecurityToken
_tokenToDerive;
97
internal
SecurityToken
TokenToDerive
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\GenericXmlSecurityToken.cs (3)
23
private
SecurityToken
_proofToken;
33
SecurityToken
proofToken,
87
public
SecurityToken
ProofToken
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\NonValidatingSecurityTokenAuthenticator.cs (2)
18
protected override bool CanValidateTokenCore(
SecurityToken
token)
23
protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(
SecurityToken
token)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityTokenContainer.cs (3)
11
private
SecurityToken
_token;
13
public SecurityTokenContainer(
SecurityToken
token)
22
public
SecurityToken
Token
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\WrappedKeySecurityToken.cs (6)
26
private
SecurityToken
_wrappingToken;
39
public WrappedKeySecurityToken(string id, byte[] keyToWrap, string wrappingAlgorithm,
SecurityToken
wrappingToken, SecurityKeyIdentifier wrappingTokenReference)
44
internal WrappedKeySecurityToken(string id, byte[] keyToWrap, string wrappingAlgorithm, XmlDictionaryString wrappingAlgorithmDictionaryString,
SecurityToken
wrappingToken, SecurityKeyIdentifier wrappingTokenReference)
70
internal WrappedKeySecurityToken(string id, byte[] keyToWrap, string wrappingAlgorithm,
SecurityToken
wrappingToken, SecurityKeyIdentifier wrappingTokenReference, byte[] wrappedKey, SecurityKey wrappingSecurityKey)
75
private WrappedKeySecurityToken(string id, byte[] keyToWrap, string wrappingAlgorithm, XmlDictionaryString wrappingAlgorithmDictionaryString,
SecurityToken
wrappingToken, SecurityKeyIdentifier wrappingTokenReference, byte[] wrappedKey, SecurityKey wrappingSecurityKey)
137
public
SecurityToken
WrappingToken
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\TrustDriver.cs (2)
132
public abstract
SecurityToken
GetEntropy(RequestSecurityToken rst, SecurityTokenResolver resolver);
135
public abstract
SecurityToken
GetEntropy(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecureConversation.cs (11)
57
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)
63
public virtual
SecurityToken
CreateDerivedKeyToken(string id, string derivationAlgorithm, string label, int length, byte[] nonce, int offset, int generation, SecurityKeyIdentifierClause tokenToDeriveIdentifier,
SecurityToken
tokenToDerive)
130
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)
221
public virtual
SecurityToken
CreateDerivedKeyToken(string id, string derivationAlgorithm, string label, int length, byte[] nonce, int offset, int generation, SecurityKeyIdentifierClause tokenToDeriveIdentifier,
SecurityToken
tokenToDerive)
226
public override
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
236
SecurityToken
tokenToDerive;
244
public override void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token)
342
public override
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
413
public override void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityJan2004.cs (20)
114
public abstract
SecurityToken
ReadBinaryCore(string id, string valueTypeUri, byte[] rawData);
116
public override
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
121
public abstract void WriteBinaryCore(
SecurityToken
token, out string id, out byte[] rawData);
123
public override void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token)
182
public override
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
187
public override void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token)
210
public override
SecurityToken
ReadBinaryCore(string id, string valueTypeUri, byte[] rawData)
215
public override void WriteBinaryCore(
SecurityToken
token, out string id, out byte[] rawData)
255
public override
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
260
public override void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token)
289
SecurityToken
token = new UserNameSecurityToken(userName, password, id);
290
return new CompletedAsyncResult<
SecurityToken
>(token, callback, state);
310
public override
SecurityToken
EndReadTokenCore(IAsyncResult result)
312
return CompletedAsyncResult<
SecurityToken
>.End(result);
315
public override
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
329
public override void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token)
441
public override
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
461
public override void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token)
483
public override
SecurityToken
ReadBinaryCore(string id, string valueTypeUri, byte[] rawData)
493
public override void WriteBinaryCore(
SecurityToken
token, out string id, out byte[] rawData)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (9)
221
protected override
SecurityToken
ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver)
247
protected override bool CanWriteTokenCore(
SecurityToken
token)
258
protected override void WriteTokenCore(XmlWriter writer,
SecurityToken
token)
449
SecurityToken
result = this.ReadTokenCore(reader, tokenResolver);
450
return new CompletedAsyncResult<
SecurityToken
>(result, callback, state);
512
public virtual
SecurityToken
EndReadTokenCore(IAsyncResult result)
514
return CompletedAsyncResult<
SecurityToken
>.End(result);
519
public abstract
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver);
521
public abstract void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (5)
128
public override
SecurityToken
ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
157
public override void WriteTokenCore(XmlDictionaryWriter writer,
SecurityToken
token)
405
public override
SecurityToken
GetEntropy(RequestSecurityToken rst, SecurityTokenResolver resolver)
413
public override
SecurityToken
GetEntropy(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver)
421
private
SecurityToken
GetEntropy(XmlElement rootElement, SecurityTokenResolver resolver)