Class AzureSecurityConfiguration
Represents security-related configuration required for service endpoints hosted on Windows Azure Service Bus.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class AzureSecurityConfiguration : IValidator, IEquatable<AzureSecurityConfiguration>, IExtensibleDataObject
Constructors
AzureSecurityConfiguration()
Initializes an empty instance.
Declaration
public AzureSecurityConfiguration()
AzureSecurityConfiguration(AzureSecurityConfiguration)
Initializes new instance from provided configuration.
Declaration
public AzureSecurityConfiguration(AzureSecurityConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
AzureSecurityConfiguration | configuration | An existing instance to be initialized from. |
Properties
Credential
Declaration
public AzureNetworkCredential Credential { get; set; }
Property Value
Type | Description |
---|---|
AzureNetworkCredential |
CredentialType
Gets or sets the type of client credential to be used for authentication on the Service Bus transport.
Declaration
public AzureCredentialType CredentialType { get; set; }
Property Value
Type | Description |
---|---|
AzureCredentialType |
ErrorMessage
Gets the summary of validation errors.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
String |
ExtensionData
Gets or sets ExtensionDataObject that enables serialization roundtrips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
ExtensionDataObject |
SharedAccessSignature
Gets or sets the shared access signature URI credential used with SharedAccessSignature authentication type.
Declaration
public AzureSharedAccessSignature SharedAccessSignature { get; set; }
Property Value
Type | Description |
---|---|
AzureSharedAccessSignature |
SharedSecret
Gets or sets the shared secret credential used with SharedSecret authentication type.
Declaration
public AzureSharedSecret SharedSecret { get; set; }
Property Value
Type | Description |
---|---|
AzureSharedSecret |
StsUri
Gets or sets the URI of the Security Token Service (STS) used with OAuth, Saml, SharedSecret, SimpleWebToken, and Windows authentication types.
Declaration
public Uri StsUri { get; set; }
Property Value
Type | Description |
---|---|
Uri |
Methods
Equals(AzureSecurityConfiguration)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(AzureSecurityConfiguration other)
Parameters
Type | Name | Description |
---|---|---|
AzureSecurityConfiguration | other | The objects to compare with the current object. |
Returns
Type | Description |
---|---|
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 |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
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 |
---|---|
Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns friendly description of the instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | Friendly description of the instance. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |