TokenProvider.CreateSimpleWebTokenProvider TokenProvider.CreateSimpleWebTokenProvider Method

Definition

Overloads

CreateSimpleWebTokenProvider(String) CreateSimpleWebTokenProvider(String)

Creates a simple web token provider.

CreateSimpleWebTokenProvider(String, TokenScope)

Creates a simple web token provider.

CreateSimpleWebTokenProvider(String, Uri) CreateSimpleWebTokenProvider(String, Uri)

Creates a simple web token provider.

CreateSimpleWebTokenProvider(String, Uri, TokenScope)

Creates a simple web token provider.

CreateSimpleWebTokenProvider(String) CreateSimpleWebTokenProvider(String)

Creates a simple web token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSimpleWebTokenProvider (string token);
Public Shared Function CreateSimpleWebTokenProvider (token As String) As TokenProvider
Parameters
token
String 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 String

The string that represents the simple web token.

tokenScope
TokenScope TokenScope

The token scope associated with the provider.

Returns

The created simple web token provider.

CreateSimpleWebTokenProvider(String, Uri) CreateSimpleWebTokenProvider(String, Uri)

Creates a simple web token provider.

public static Microsoft.ServiceBus.TokenProvider CreateSimpleWebTokenProvider (string token, Uri stsUri);
Public Shared Function CreateSimpleWebTokenProvider (token As String, stsUri As Uri) As TokenProvider
Parameters
token
String String

The string that represents the simple web token.

stsUri
Uri 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 String

The string that represents the simple web token.

stsUri
Uri Uri

The URI of the Security Token Service (STS).

tokenScope
TokenScope TokenScope

The token scope associated with the provider.

Returns

The created simple web token provider.

Applies to