4 instantiations of ServiceCredentials
System.ServiceModel (4)
System\ServiceModel\Configuration\ServiceCredentialsElement.cs (1)
119
behavior = new
ServiceCredentials
();
System\ServiceModel\Description\ServiceCredentials.cs (2)
177
return new
ServiceCredentials
();
197
return new
ServiceCredentials
(this);
System\ServiceModel\ServiceHost.cs (1)
620
c = new
ServiceCredentials
();
58 references to ServiceCredentials
System.ServiceModel (58)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (3)
160
else if (behavior is
ServiceCredentials
)
163
ServiceCredentials
specificBehavior = (
ServiceCredentials
)behavior;
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
409
credentialsManager =
ServiceCredentials
.CreateDefaultCredentials();
System\ServiceModel\Channels\HttpChannelListener.cs (2)
416
ServiceCredentials
serviceCredentials = this.credentialProvider as
ServiceCredentials
;
System\ServiceModel\Channels\HttpsChannelListener.cs (3)
44
credentialProvider =
ServiceCredentials
.CreateDefaultCredentials();
52
ServiceCredentials
serviceCredentials = credentialProvider as
ServiceCredentials
;
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
161
credentials =
ServiceCredentials
.CreateDefaultCredentials();
System\ServiceModel\Channels\PeerSecurityManager.cs (2)
124
ServiceCredentials
serviceCredentials = context.BindingParameters.Find<
ServiceCredentials
>();
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
82
credentialProvider =
ServiceCredentials
.CreateDefaultCredentials();
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
280
credentialsManager =
ServiceCredentials
.CreateDefaultCredentials();
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (1)
175
credentialsManager =
ServiceCredentials
.CreateDefaultCredentials();
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (1)
53
credentialProvider =
ServiceCredentials
.CreateDefaultCredentials();
System\ServiceModel\Configuration\ServiceCredentialsElement.cs (5)
116
ServiceCredentials
behavior;
124
if (!typeof(
ServiceCredentials
).IsAssignableFrom(credentialsType))
129
behavior = (
ServiceCredentials
)Activator.CreateInstance(credentialsType);
136
protected internal void ApplyConfiguration(
ServiceCredentials
behavior)
184
get { return typeof(
ServiceCredentials
); }
System\ServiceModel\Description\ServiceCredentials.cs (5)
49
protected ServiceCredentials(
ServiceCredentials
other)
175
internal static
ServiceCredentials
CreateDefaultCredentials()
195
protected virtual
ServiceCredentials
CloneCore()
200
public
ServiceCredentials
Clone()
202
ServiceCredentials
result = CloneCore();
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (9)
790
ServiceCredentials
serviceCredentials = behaviors.Find<
ServiceCredentials
>();
791
if (serviceCredentials != null && serviceCredentials.GetType() != typeof(
ServiceCredentials
))
928
static void ValidateCore(ServiceDescription description,
ServiceCredentials
credentials)
965
if (!description.Behaviors.Contains(typeof(
ServiceCredentials
)))
968
ValidateCore(description, description.Behaviors.Find<
ServiceCredentials
>());
975
static void ValidateCore(ServiceDescription description,
ServiceCredentials
credentials)
1018
ServiceCredentials
credentials = description.Behaviors.Find<
ServiceCredentials
>();
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
123
securityCredentials =
ServiceCredentials
.CreateDefaultCredentials();
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (1)
48
public FederatedSecurityTokenManager(
ServiceCredentials
parentCredentials )
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (6)
66
ServiceCredentials
sc = GetServiceCredentials();
211
ServiceCredentials
serviceCreds = GetServiceCredentials();
545
static
ServiceCredentials
GetServiceCredentials()
547
ServiceCredentials
serviceCredentials = null;
554
serviceCredentials = OperationContext.Current.Host.Description.Behaviors.Find<
ServiceCredentials
>();
667
ServiceCredentials
credentials = GetServiceCredentials();
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1087
securityCredentials =
ServiceCredentials
.CreateDefaultCredentials();
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (3)
22
ServiceCredentials
parent;
24
public ServiceCredentialsSecurityTokenManager(
ServiceCredentials
parent)
33
public
ServiceCredentials
ServiceCredentials
System\ServiceModel\Security\WSTrustServiceContract.cs (2)
156
ServiceCredentials
serviceCreds = OperationContext.Current.Host.Description.Behaviors.Find<
ServiceCredentials
>();
System\ServiceModel\ServiceConfiguration.cs (1)
64
public
ServiceCredentials
Credentials
System\ServiceModel\ServiceHost.cs (8)
47
ServiceCredentials
readOnlyCredentials;
184
public
ServiceCredentials
Credentials
613
ServiceCredentials
EnsureCredentials(ServiceDescription description)
616
ServiceCredentials
c = description.Behaviors.Find<
ServiceCredentials
>();
1051
ServiceCredentials
c = description.Behaviors.Find<
ServiceCredentials
>();
1054
ServiceCredentials
credentialsCopy = c.Clone();