SharedSecretElement SharedSecretElement Class

A configuration element that specifies the credentials for a service or client endpoint that is configured to use the SharedSecretTokenProvider credential type.

Syntax

Declaration

public class SharedSecretElement : ConfigurationElementPublic Class SharedSecretElement
    Inherits ConfigurationElement

Inheritance Hierarchy

Inherited Members

Init()
Init()
,
Init()
Init()
, , , , , , , , , , , , , , , , , , , , ,
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
,
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Properties summary

Gets or sets the issuer name.

Gets or sets the issuer secret key.

Gets the properties of this configuration element that contain the issuer name and the issuer secret key.

Gets or sets the token scope.

Methods summary

Copies the contents of the specified shared secret configuration element to this configuration element.

Properties

  • IssuerName
    IssuerName

    Gets or sets the issuer name.

    [ConfigurationProperty("issuerName", IsRequired = true)]
    [StringValidator(MinLength = 0, MaxLength = 128)]
    public string IssuerName { get; set; }<ConfigurationProperty("issuerName", IsRequired:=True)>
    <StringValidator(MinLength:=0, MaxLength:=128)>
    Public Property IssuerName As String

    Property Value

  • IssuerSecret
    IssuerSecret

    Gets or sets the issuer secret key.

    [ConfigurationProperty("issuerSecret", IsRequired = true)]
    [StringValidator(MinLength = 0, MaxLength = 128)]
    public string IssuerSecret { get; set; }<ConfigurationProperty("issuerSecret", IsRequired:=True)>
    <StringValidator(MinLength:=0, MaxLength:=128)>
    Public Property IssuerSecret As String

    Property Value

  • Properties
    Properties

    Gets the properties of this configuration element that contain the issuer name and the issuer secret key.

    protected override ConfigurationPropertyCollection Properties { get; }Protected Overrides ReadOnly Property Properties As ConfigurationPropertyCollection

    Property Value

  • TokenScope
    TokenScope

    Gets or sets the token scope.

    [ConfigurationProperty("tokenScope", IsRequired = false, DefaultValue = TokenScope.Entity)]
    public TokenScope TokenScope { get; set; }<ConfigurationProperty("tokenScope", IsRequired:=False, DefaultValue:=TokenScope.Entity)>
    Public Property TokenScope As TokenScope

    Property Value

Methods

  • CopyFrom(SharedSecretElement)
    CopyFrom(SharedSecretElement)

    Copies the contents of the specified shared secret configuration element to this configuration element.

    public void CopyFrom(SharedSecretElement source)Public Sub CopyFrom(source As SharedSecretElement)

    Parameters

Details

Assembly

Microsoft.ServiceBus.dll