SALES: 1-800-867-1380

TokenProvider.CreateSamlTokenProvider Method (String, Uri, Int32, TokenScope)

Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS), cache size and token scope.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Public Shared Function CreateSamlTokenProvider ( _
	samlToken As String, _
	stsUri As Uri, _
	cacheSize As Integer, _
	tokenScope As TokenScope _
) As TokenProvider
Dim samlToken As String
Dim stsUri As Uri
Dim cacheSize As Integer
Dim tokenScope As TokenScope
Dim returnValue As TokenProvider

returnValue = TokenProvider.CreateSamlTokenProvider(samlToken, _
	stsUri, cacheSize, tokenScope)


Type: System.String
The string that represents the SAML token.
Type: System.Uri
The URI of the Security Token Service (STS).
Type: System.Int32
The size of the cache.
Type: Microsoft.ServiceBus.TokenScope
The token scope associated with the provider.

Return Value

Type: Microsoft.ServiceBus.TokenProvider
The TokenProvider for returning SAML token.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft