SharedSecretCredential Class
Note: This API is now obsolete.
Represents the shared secret credential used for a client endpoint.
System.Object
Microsoft.ServiceBus.Description.TransportClientCredentialBase
Microsoft.ServiceBus.Description.SharedSecretCredential
Microsoft.ServiceBus.Description.TransportClientCredentialBase
Microsoft.ServiceBus.Description.SharedSecretCredential
Namespace: Microsoft.ServiceBus.Description
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
The SharedSecretCredential type exposes the following members.
| Name | Description | |
|---|---|---|
|
IssuerName | Gets or sets the issuer name. |
|
IssuerSecret | Gets or sets the issuer secret. |
| Name | Description | |
|---|---|---|
|
ComputeSimpleWebTokenString(String, Byte[]) | Returns a string of URL encoded name/value pairs for a Simple Web Token assertion using the specified issuer name and issuer secret. |
|
ComputeSimpleWebTokenString(String, String) | Returns a string of URL encoded name/value pairs for a Simple Web Token assertion using the specified issuer name and issuer secret. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
The following code example sets the credential type of the TransportClientEndpointBehavior to the shared secret credential type, and then sets the issuer name and issuer secret credentials through the TransportClientCredentials.SharedSecret property of type SharedSecretCredential.