TokenProvider.CreateSimpleWebTokenProvider Method

Definition

Overloads

CreateSimpleWebTokenProvider(String)

Creates a simple web token provider.

CreateSimpleWebTokenProvider(String, TokenScope)

Creates a simple web token provider.

CreateSimpleWebTokenProvider(String, Uri)

Creates a simple web token provider.

CreateSimpleWebTokenProvider(String, Uri, TokenScope)

Creates a simple web token provider.

CreateSimpleWebTokenProvider(String)

Creates a simple web token provider.

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

Parameters

token
String

The string that represents the simple web token.

Returns

The TokenProvider for returning simple web token.

Applies to

CreateSimpleWebTokenProvider(String, TokenScope)

Creates a simple web token provider.

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

Parameters

token
String

The string that represents the simple web token.

tokenScope
TokenScope

The token scope associated with the provider.

Returns

The created simple web token provider.

Applies to

CreateSimpleWebTokenProvider(String, Uri)

Creates a simple web token provider.

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

Parameters

token
String

The string that represents the simple web token.

stsUri
Uri

The URI of the Security Token Service (STS).

Returns

The TokenProvider for returning simple web token.

Applies to

CreateSimpleWebTokenProvider(String, Uri, TokenScope)

Creates a simple web token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSimpleWebTokenProvider (string token, Uri stsUri, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSimpleWebTokenProvider : string * Uri * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSimpleWebTokenProvider (token As String, stsUri As Uri, tokenScope As TokenScope) As TokenProvider

Parameters

token
String

The string that represents the simple web token.

stsUri
Uri

The URI of the Security Token Service (STS).

tokenScope
TokenScope

The token scope associated with the provider.

Returns

The created simple web token provider.

Applies to