Table of Contents

Class WebHttpRelaySecurity

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

Specifies the types of security available to a service endpoint configured to receive HTTP requests.

public sealed class WebHttpRelaySecurity
Inheritance
WebHttpRelaySecurity
Inherited Members

Properties

Mode

Gets or sets the mode of security that is used by an endpoint configured to receive HTTP requests with a WebHttpRelayBinding.

public EndToEndWebHttpSecurityMode Mode { get; set; }

Property Value

EndToEndWebHttpSecurityMode

Returns a EndToEndWebHttpSecurityMode that indicates whether transport-level security, credential only, or no security is used by an endpoint. The default value is None.

RelayClientAuthenticationType

Gets or sets the relay client authentication type used by the service client.

public RelayClientAuthenticationType RelayClientAuthenticationType { get; set; }

Property Value

RelayClientAuthenticationType

Returns a RelayClientAuthenticationType that contains the relay client authentication type. The default value is RelayClientAuthenticationType.RelayAccessToken.

Transport

Gets or sets the Transport-level security settings for a binding.

public HttpRelayTransportSecurity Transport { get; }

Property Value

HttpRelayTransportSecurity

Returns a HttpRelayTransportSecurity that contains the binding. The default values set are a ClientCredentialType of None, a ProxyCredentialType of None, and Realm = "".