Share via


OnewayRelayTransportBindingElement.RelayClientAuthenticationType Property

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets the relay client authentication type.

Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)

Usage

    Dim instance As OnewayRelayTransportBindingElement
Dim value As RelayClientAuthenticationType

value = instance.RelayClientAuthenticationType

instance.RelayClientAuthenticationType = value

Syntax

'Declaration
Public Property RelayClientAuthenticationType As RelayClientAuthenticationType
public RelayClientAuthenticationType RelayClientAuthenticationType { get; set; }
public:
property RelayClientAuthenticationType RelayClientAuthenticationType {
    RelayClientAuthenticationType get ();
    void set (RelayClientAuthenticationType value);
}
/** @property */
public RelayClientAuthenticationType get_RelayClientAuthenticationType ()

/** @property */
public void set_RelayClientAuthenticationType (RelayClientAuthenticationType value)
public function get RelayClientAuthenticationType () : RelayClientAuthenticationType

public function set RelayClientAuthenticationType (value : RelayClientAuthenticationType)

Property Value

Returns RelayClientAuthenticationType. The default value is RelayClientAuthenticationType.RelayAccessToken.

Remarks

The OnewayRelayTransportBindingElement uses a federated security token authorization scheme to guard access to the Service Bus Relay and to the services listening through it.

This property controls whether clients of a service are required to present a security token issued by the Access Control service to the Service Bus service when sending messages. Services (listeners) are always required to authenticate with the Access Control service and present an authorization token to the Service Bus. If the service (listener) wants to take over the responsibility of authenticating/authorizing clients, it can opt out of the integration between Access Control and Service Bus by setting this property to RelayClientAuthenticationType.None.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

OnewayRelayTransportBindingElement Class
OnewayRelayTransportBindingElement Members
Microsoft.ServiceBus Namespace