Class AzureSharedSecret
Represents the shared secret credential used for client or service authentication with Windows Azure Service Bus.
Inheritance
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class AzureSharedSecret : IValidator, IEquatable<AzureSharedSecret>, IExtensibleDataObject
Constructors
AzureSharedSecret()
Initializes an empty instance.
Declaration
public AzureSharedSecret()
AzureSharedSecret(AzureSharedSecret)
Initializes a new instance from provided secret.
Declaration
public AzureSharedSecret(AzureSharedSecret secret)
Parameters
Type | Name | Description |
---|---|---|
AzureSharedSecret | secret | An existing instance to be initialized from. |
Properties
ErrorMessage
Gets the summary of validation errors.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
ExtensionData
Gets or sets System.Runtime.Serialization.ExtensionDataObject that enables serialization roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
System.Runtime.Serialization.ExtensionDataObject |
IssuerName
Gets or sets the issuer's name associated with the credentials.
Declaration
public string IssuerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IssuerSecret
Gets or sets the issuer's secret (password) associated with the credentials.
Declaration
public string IssuerSecret { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(AzureSharedSecret)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(AzureSharedSecret other)
Parameters
Type | Name | Description |
---|---|---|
AzureSharedSecret | other | The objects to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True, if objects are equal. False, if objects are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns friendly description of the instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Friendly description of the instance. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |