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)

'Declaration
Public Shared Function CreateSamlTokenProvider ( _
	samlToken As String, _
	stsUri As Uri, _
	cacheSize As Integer, _
	tokenScope As TokenScope _
) As TokenProvider
'Usage
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)

Parameters

samlToken
Type: System.String
The string that represents the SAML token.
stsUri
Type: System.Uri
The URI of the Security Token Service (STS).
cacheSize
Type: System.Int32
The size of the cache.
tokenScope
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

ADD
Show:
© 2014 Microsoft