Share via


ServiceBusConnectionStringBuilder.CreateUsingOAuthCredential Method

Definition

Creates a connection string using authentication credentials.

public static string CreateUsingOAuthCredential (System.Collections.Generic.IEnumerable<Uri> endpoints, System.Collections.Generic.IEnumerable<Uri> stsEndpoints, int runtimePort, int managementPort, string domain, string user, System.Security.SecureString password);
static member CreateUsingOAuthCredential : seq<Uri> * seq<Uri> * int * int * string * string * System.Security.SecureString -> string
Public Shared Function CreateUsingOAuthCredential (endpoints As IEnumerable(Of Uri), stsEndpoints As IEnumerable(Of Uri), runtimePort As Integer, managementPort As Integer, domain As String, user As String, password As SecureString) As String

Parameters

endpoints
IEnumerable<Uri>

The set of endpoints.

stsEndpoints
IEnumerable<Uri>

The set of security token service endpoints.

runtimePort
Int32

The runtime port.

managementPort
Int32

The management port.

domain
String

The domain where the connection will be established.

user
String

The authentication user.

password
SecureString

The authentication password.

Returns

The created service bus connection string.

Applies to