Udostępnij za pośrednictwem


TokenProvider.CreateWindowsTokenProvider Method

Definition

Overloads

CreateWindowsTokenProvider(IEnumerable<Uri>)

Creates a windows token provider.

CreateWindowsTokenProvider(IEnumerable<Uri>, NetworkCredential)

Creates a windows token provider.

CreateWindowsTokenProvider(IEnumerable<Uri>)

Creates a windows token provider.

public static Microsoft.ServiceBus.TokenProvider CreateWindowsTokenProvider (System.Collections.Generic.IEnumerable<Uri> stsUris);
static member CreateWindowsTokenProvider : seq<Uri> -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateWindowsTokenProvider (stsUris As IEnumerable(Of Uri)) As TokenProvider

Parameters

stsUris
IEnumerable<Uri>

The URIs of the Security Token Service (STS).

Returns

The TokenProvider for returning the windows token.

Applies to

CreateWindowsTokenProvider(IEnumerable<Uri>, NetworkCredential)

Creates a windows token provider.

public static Microsoft.ServiceBus.TokenProvider CreateWindowsTokenProvider (System.Collections.Generic.IEnumerable<Uri> stsUris, System.Net.NetworkCredential credential);
static member CreateWindowsTokenProvider : seq<Uri> * System.Net.NetworkCredential -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateWindowsTokenProvider (stsUris As IEnumerable(Of Uri), credential As NetworkCredential) As TokenProvider

Parameters

stsUris
IEnumerable<Uri>

The URIs of the Security Token Service (STS).

credential
NetworkCredential

The user credential.

Returns

The TokenProvider for returning the windows token.

Applies to