SharedSecretElement SharedSecretElement Class

Definition

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

public class SharedSecretElement : ConfigurationElementPublic Class SharedSecretElement
    Inherits ConfigurationElement
Inheritance
SharedSecretElementSharedSecretElement

Inherited Members

System.Configuration.ConfigurationElement

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

System.Object

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
Value
String String

The issuer name.

Attributes

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
Value
String String

The issuer secret key.

Attributes

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
Value
ConfigurationPropertyCollection ConfigurationPropertyCollection

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

Overrides

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
Value
TokenScope TokenScope

The token scope.

Attributes

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
source
SharedSecretElement SharedSecretElement

The shared secret configuration element to be copied.