TokenProvider.CreateSamlTokenProvider Method

Definition

Overloads

CreateSamlTokenProvider(String)

Creates a SAML token provider with the specified SAML token.

CreateSamlTokenProvider(String, TokenScope)

Creates a SAML token provider with the specified SAML token and scope.

CreateSamlTokenProvider(String, Uri)

Creates a SAML token provider with the specified SAML token and URI of the Security Token Service (STS).

CreateSamlTokenProvider(String, Uri, TokenScope)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and token scope.

CreateSamlTokenProvider(String, Uri, Int32)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and cache size.

CreateSamlTokenProvider(String, Uri, Int32, TokenScope)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS), cache size and token scope.

CreateSamlTokenProvider(String)

Creates a SAML token provider with the specified SAML token.

public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken);
static member CreateSamlTokenProvider : string -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String) As TokenProvider

Parameters

samlToken
String

The string that represents the SAML token.

Returns

TokenProvider

The TokenProvider for returning SAML token.

Applies to

Product Introduced

CreateSamlTokenProvider(String, TokenScope)

Creates a SAML token provider with the specified SAML token and scope.

public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSamlTokenProvider : string * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider

Parameters

samlToken
String

The string that represents the SAML token.

tokenScope
TokenScope

The token scope associated with the provider.

Returns

TokenProvider

The TokenProvider for returning SAML token.

Applies to

Product Introduced

CreateSamlTokenProvider(String, Uri)

Creates a SAML token provider with the specified SAML token and URI of the Security Token Service (STS).

public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Uri stsUri);
static member CreateSamlTokenProvider : string * Uri -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String, stsUri As Uri) As TokenProvider

Parameters

samlToken
String

The string that represents the SAML token.

stsUri
Uri

The URI of the Security Token Service (STS).

Returns

TokenProvider

The TokenProvider for returning SAML token.

Applies to

Product Introduced

CreateSamlTokenProvider(String, Uri, TokenScope)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and token scope.

public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Uri stsUri, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSamlTokenProvider : string * Uri * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider

Parameters

samlToken
String

The string that represents the SAML token.

stsUri
Uri

The URI of the Security Token Service (STS).

tokenScope
TokenScope

The token scope associated with the provider.

Returns

TokenProvider

The TokenProvider for returning SAML token.

Applies to

Product Introduced

CreateSamlTokenProvider(String, Uri, Int32)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and cache size.

public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Uri stsUri, int cacheSize);
static member CreateSamlTokenProvider : string * Uri * int -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String, stsUri As Uri, cacheSize As Integer) As TokenProvider

Parameters

samlToken
String

The string that represents the SAML token.

stsUri
Uri

The URI of the Security Token Service (STS).

cacheSize
Int32

The size of the cache.

Returns

TokenProvider

The TokenProvider for returning SAML token.

Applies to

Product Introduced

CreateSamlTokenProvider(String, Uri, Int32, TokenScope)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS), cache size and token scope.

public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Uri stsUri, int cacheSize, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSamlTokenProvider : string * Uri * int * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider

Parameters

samlToken
String

The string that represents the SAML token.

stsUri
Uri

The URI of the Security Token Service (STS).

cacheSize
Int32

The size of the cache.

tokenScope
TokenScope

The token scope associated with the provider.

Returns

TokenProvider

The TokenProvider for returning SAML token.

Applies to

Product Introduced