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);
Parameters
token
String

The string that represents the simple web token.

Returns

The TokenProvider for returning simple web token.

CreateSimpleWebTokenProvider(String, TokenScope)

Creates a simple web token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSimpleWebTokenProvider (string token, Microsoft.ServiceBus.TokenScope tokenScope);
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.

CreateSimpleWebTokenProvider(String, Uri)

Creates a simple web token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSimpleWebTokenProvider (string token, Uri stsUri);
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.

CreateSimpleWebTokenProvider(String, Uri, TokenScope)

Creates a simple web token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSimpleWebTokenProvider (string token, Uri stsUri, Microsoft.ServiceBus.TokenScope tokenScope);
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.