TokenProvider.CreateSamlTokenProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateSamlTokenProvider(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. |
CreateSamlTokenProvider(String, Uri, Int32) |
Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and cache size. |
CreateSamlTokenProvider(String, Uri, TokenScope) |
Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and token scope. |
CreateSamlTokenProvider(String) |
Creates a SAML token provider with the specified SAML token. |
CreateSamlTokenProvider(String, TokenScope) |
Creates a SAML token provider with the specified SAML token and scope. |
CreateSamlTokenProvider(String, Uri) |
Creates a SAML token provider with the specified SAML token and URI of the Security Token Service (STS). |
CreateSamlTokenProvider(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.
public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Uri stsUri, int cacheSize, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSamlTokenProvider : string * Uri * int * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String, stsUri As Uri, cacheSize As Integer, tokenScope As TokenScope) As TokenProvider
Parameters
- samlToken
- String
The string that represents the SAML token.
- stsUri
- Uri
The URI of the Security Token Service (STS).
- cacheSize
- Int32
The size of the cache.
- tokenScope
- TokenScope
The token scope associated with the provider.
Returns
The TokenProvider for returning SAML token.
Applies to
CreateSamlTokenProvider(String, Uri, Int32)
Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and cache size.
public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Uri stsUri, int cacheSize);
static member CreateSamlTokenProvider : string * Uri * int -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String, stsUri As Uri, cacheSize As Integer) As TokenProvider
Parameters
- samlToken
- String
The string that represents the SAML token.
- stsUri
- Uri
The URI of the Security Token Service (STS).
- cacheSize
- Int32
The size of the cache.
Returns
The TokenProvider for returning SAML token.
Applies to
CreateSamlTokenProvider(String, Uri, TokenScope)
Creates a SAML token provider with the specified SAML token, URI of the Security Token Service (STS) and token scope.
public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Uri stsUri, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSamlTokenProvider : string * Uri * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String, stsUri As Uri, tokenScope As TokenScope) As TokenProvider
Parameters
- samlToken
- String
The string that represents the SAML token.
- stsUri
- Uri
The URI of the Security Token Service (STS).
- tokenScope
- TokenScope
The token scope associated with the provider.
Returns
The TokenProvider for returning SAML token.
Applies to
CreateSamlTokenProvider(String)
Creates a SAML token provider with the specified SAML token.
public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken);
static member CreateSamlTokenProvider : string -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String) As TokenProvider
Parameters
- samlToken
- String
The string that represents the SAML token.
Returns
The TokenProvider for returning SAML token.
Applies to
CreateSamlTokenProvider(String, TokenScope)
Creates a SAML token provider with the specified SAML token and scope.
public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Microsoft.ServiceBus.TokenScope tokenScope);
static member CreateSamlTokenProvider : string * Microsoft.ServiceBus.TokenScope -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String, tokenScope As TokenScope) As TokenProvider
Parameters
- samlToken
- String
The string that represents the SAML token.
- tokenScope
- TokenScope
The token scope associated with the provider.
Returns
The TokenProvider for returning SAML token.
Applies to
CreateSamlTokenProvider(String, Uri)
Creates a SAML token provider with the specified SAML token and URI of the Security Token Service (STS).
public static Microsoft.ServiceBus.TokenProvider CreateSamlTokenProvider (string samlToken, Uri stsUri);
static member CreateSamlTokenProvider : string * Uri -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateSamlTokenProvider (samlToken As String, stsUri As Uri) As TokenProvider
Parameters
- samlToken
- String
The string that represents the SAML token.
- stsUri
- Uri
The URI of the Security Token Service (STS).
Returns
The TokenProvider for returning SAML token.
Applies to
Azure SDK for .NET