TokenProvider.CreateSharedSecretTokenProvider Method

Definition

Overloads

CreateSharedSecretTokenProvider(String, String, Uri)

Creates a shared secret token provider.

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, TokenScope)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, Byte[])

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, Byte[], TokenScope)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, String)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, Byte[], Uri)

Creates a shared secret token provider.

CreateSharedSecretTokenProvider(String, String, Uri)

Creates a shared secret token provider.

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

Parameters

issuerName
String

The issuer name.

issuerSecret
String

The issuer secret.

stsUri
Uri

The URI of the Security Token Service (STS).

Returns

The TokenProvider for returning shared secret token.

Applies to

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);
static member CreateSharedSecretTokenProvider : string * string * Uri * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As String, stsUri As Uri, tokenScope As TokenScope) As TokenProvider

Parameters

issuerName
String

The issuer name.

issuerSecret
String

The issuer secret.

stsUri
Uri

The URI of the Security Token Service (STS).

tokenScope
TokenScope

The token scope associated with the provider.

Returns

The created token provider.

Applies to

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);
static member CreateSharedSecretTokenProvider : string * byte[] * Uri * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As Byte(), stsUri As Uri, tokenScope As TokenScope) As TokenProvider

Parameters

issuerName
String

The issuer name.

issuerSecret
Byte[]

The set of issuer secret.

stsUri
Uri

The Security Token Service's endpoint Uri.

tokenScope
TokenScope

The token scope associated with the provider.

Returns

The created token provider.

Applies to

CreateSharedSecretTokenProvider(String, String, TokenScope)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, string issuerSecret, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSharedSecretTokenProvider : string * string * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As String, tokenScope As TokenScope) As TokenProvider

Parameters

issuerName
String

The issuer name.

issuerSecret
String

The issuer secret.

tokenScope
TokenScope

The token scope associated with the provider.

Returns

The created token provider.

Applies to

CreateSharedSecretTokenProvider(String, Byte[])

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, byte[] issuerSecret);
static member CreateSharedSecretTokenProvider : string * byte[] -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As Byte()) As TokenProvider

Parameters

issuerName
String

The issuer name.

issuerSecret
Byte[]

The issuer secret.

Returns

The TokenProvider for returning shared secret token.

Applies to

CreateSharedSecretTokenProvider(String, Byte[], TokenScope)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, byte[] issuerSecret, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSharedSecretTokenProvider : string * byte[] * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As Byte(), tokenScope As TokenScope) As TokenProvider

Parameters

issuerName
String

The name of the issuer.

issuerSecret
Byte[]

The set of issuer secret.

tokenScope
TokenScope

The token scope associated with the provider.

Returns

The created token provider.

Applies to

CreateSharedSecretTokenProvider(String, String)

Creates a shared secret token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSharedSecretTokenProvider (string issuerName, string issuerSecret);
static member CreateSharedSecretTokenProvider : string * string -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSharedSecretTokenProvider (issuerName As String, issuerSecret As String) As TokenProvider

Parameters

issuerName
String

The issuer name.

issuerSecret
String

The issuer secret.

Returns

The TokenProvider for returning shared secret token.

Applies to

CreateSharedSecretTokenProvider(String, Byte[], Uri)

Creates a shared secret token provider.

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

Parameters

issuerName
String

The issuer name.

issuerSecret
Byte[]

The set of issuer secret.

stsUri
Uri

The URI of the Security Token Service (STS).

Returns

The TokenProvider for returning shared secret token.

Applies to