TokenProvider Class
Represents a security token provider with built-in factory methods returning some well-known token providers.
System.Object
Microsoft.ServiceBus.TokenProvider
Microsoft.ServiceBus.SamlTokenProvider
Microsoft.ServiceBus.SharedSecretTokenProvider
Microsoft.ServiceBus.SimpleWebTokenProvider
Microsoft.ServiceBus.TokenProvider
Microsoft.ServiceBus.SamlTokenProvider
Microsoft.ServiceBus.SharedSecretTokenProvider
Microsoft.ServiceBus.SimpleWebTokenProvider
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
The TokenProvider type exposes the following members.
| Name | Description | |
|---|---|---|
|
CacheTokens | Gets or sets a value that indicates whether new security tokens are being cached. |
|
IsWebTokenSupported | Gets or sets a value that indicates whether web token is supported by this provider. |
| Name | Description | |
|---|---|---|
|
BeginGetToken | Begins an asynchronous operation to get a security token. |
|
BeginGetWebToken | Begins an asynchronous operation to get a web token. |
|
CreateSamlTokenProvider(String) | Creates a Saml token provider with the specified Saml token. |
|
CreateSamlTokenProvider(String, Uri) | Creates a Saml token provider with the specified Saml token and URI of the Security Token Service (STS). |
|
CreateSharedSecretTokenProvider(String, Byte()) | Creates a shared secret token provider. |
|
CreateSharedSecretTokenProvider(String, String) | Creates a shared secret token provider. |
|
CreateSharedSecretTokenProvider(String, Byte(), Uri) | Creates a shared secret token provider. |
|
CreateSharedSecretTokenProvider(String, String, Uri) | Creates a shared secret token provider. |
|
CreateSimpleWebTokenProvider(String) | Creates a simple web token provider. |
|
CreateSimpleWebTokenProvider(String, Uri) | Creates a simple web token provider. |
|
EndGetToken | Completes an asynchronous operation to get a security token. |
|
EndGetWebToken | Completes an asynchronous operation to get a web token. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
OnBeginGetToken | Executes upon calling the BeginGetToken method. |
|
OnBeginGetWebToken | Executes upon calling the BeginGetWebToken method. |
|
OnEndGetToken | Executes upon calling the EndGetToken method. |
|
OnEndGetWebToken | Executes upon calling the EndGetWebToken method. |
|
ToString | (Inherited from Object.) |