コード例 #1
0
 public OktaServiceClient(EndpointConfiguration endpointConfiguration) :
     base(OktaServiceClient.GetBindingForEndpoint(endpointConfiguration), OktaServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #2
0
 public OktaServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(OktaServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(OktaServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IOktaService));
 }