TokenProvider.CreateSharedSecretTokenProvider TokenProvider.CreateSharedSecretTokenProvider Method

Definition

Overloads

CreateSharedSecretTokenProvider(String, String, Uri, TokenScope)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, Byte[], Uri, TokenScope)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, String, Uri) CreateSharedSecretTokenProvider(String, String, Uri)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, String, TokenScope)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, Byte[], TokenScope)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, String) CreateSharedSecretTokenProvider(String, String)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, Byte[]) CreateSharedSecretTokenProvider(String, Byte[])

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, Byte[], Uri) CreateSharedSecretTokenProvider(String, Byte[], Uri)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, String, Uri, TokenScope)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, string issuerSecret, Uri stsUri, Microsoft.ServiceBus.TokenScope tokenScope);
Parameters
issuerName
String String

The issuer name.

issuerSecret
String String

The issuer secret.

stsUri
Uri Uri

The URI of the Security Token Service (STS).

tokenScope
TokenScope TokenScope

The token scope associated with the provider.

Returns

The created token provider.

CreateSharedSecretTokenProvider(String, Byte[], Uri, TokenScope)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, byte[] issuerSecret, Uri stsUri, Microsoft.ServiceBus.TokenScope tokenScope);
Parameters
issuerName
String String

The issuer name.

issuerSecret
Byte[]

The set of issuer secret.

stsUri
Uri Uri

The Security Token Service's endpoint Uri.

tokenScope
TokenScope TokenScope

The token scope associated with the provider.

Returns

The created token provider.

CreateSharedSecretTokenProvider(String, String, Uri) CreateSharedSecretTokenProvider(String, String, Uri)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, string issuerSecret, Uri stsUri);
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As String, stsUri As Uri) As TokenProvider
Parameters
issuerName
String String

The issuer name.

issuerSecret
String String

The issuer secret.

stsUri
Uri Uri

The URI of the Security Token Service (STS).

Returns

The TokenProvider for returning shared secret token.

CreateSharedSecretTokenProvider(String, String, TokenScope)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, string issuerSecret, Microsoft.ServiceBus.TokenScope tokenScope);
Parameters
issuerName
String String

The issuer name.

issuerSecret
String String

The issuer secret.

tokenScope
TokenScope TokenScope

The token scope associated with the provider.

Returns

The created token provider.

CreateSharedSecretTokenProvider(String, Byte[], TokenScope)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, byte[] issuerSecret, Microsoft.ServiceBus.TokenScope tokenScope);
Parameters
issuerName
String String

The name of the issuer.

issuerSecret
Byte[]

The set of issuer secret.

tokenScope
TokenScope TokenScope

The token scope associated with the provider.

Returns

The created token provider.

CreateSharedSecretTokenProvider(String, String) CreateSharedSecretTokenProvider(String, String)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, string issuerSecret);
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As String) As TokenProvider
Parameters
issuerName
String String

The issuer name.

issuerSecret
String String

The issuer secret.

Returns

The TokenProvider for returning shared secret token.

CreateSharedSecretTokenProvider(String, Byte[]) CreateSharedSecretTokenProvider(String, Byte[])

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, byte[] issuerSecret);
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As Byte()) As TokenProvider
Parameters
issuerName
String String

The issuer name.

issuerSecret
Byte[]

The issuer secret.

Returns

The TokenProvider for returning shared secret token.

CreateSharedSecretTokenProvider(String, Byte[], Uri) CreateSharedSecretTokenProvider(String, Byte[], Uri)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, byte[] issuerSecret, Uri stsUri);
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As Byte(), stsUri As Uri) As TokenProvider
Parameters
issuerName
String String

The issuer name.

issuerSecret
Byte[]

The set of issuer secret.

stsUri
Uri Uri

The URI of the Security Token Service (STS).

Returns

The TokenProvider for returning shared secret token.

Applies to