Edit

Share via


Scope Constructors

Definition

Initializes a new instance of the Scope class.

Overloads

Scope()

Initializes a new instance of the Scope class.

Scope(String)

Initializes a new instance of the Scope class with the specified appliesTo address.

Scope(String, EncryptingCredentials)

Initializes a new instance of the Scope class with the specified appliesTo address and encrypting credentials.

Scope(String, SigningCredentials)

Initializes a new instance of the Scope class with the specified appliesTo address and signing credentials.

Scope(String, SigningCredentials, EncryptingCredentials)

Initializes a new instance of the Scope class with the specified appliesTo address, signing credentials, and encrypting credentials.

Scope()

Initializes a new instance of the Scope class.

public:
 Scope();
public Scope ();
Public Sub New ()

Remarks

The following table shows the initial property values for the new Scope instance.

Property Value.
AppliesToAddress null .
EncryptingCredentials null.
Properties An empty dictionary.
ReplyToAddress null.
SigningCredentials null.
SymmetricKeyEncryptionRequired true.
TokenEncryptionRequired true.

Applies to

Scope(String)

Initializes a new instance of the Scope class with the specified appliesTo address.

public:
 Scope(System::String ^ appliesToAddress);
public Scope (string appliesToAddress);
new System.IdentityModel.Scope : string -> System.IdentityModel.Scope
Public Sub New (appliesToAddress As String)

Parameters

appliesToAddress
String

The appliesTo address of the relying party. This is typically a URI.

Remarks

The following table shows the initial property values for the new Scope instance.

Property Value.
AppliesToAddress The value of the appliesToAddress parameter.
EncryptingCredentials null.
Properties An empty dictionary.
ReplyToAddress null.
SigningCredentials null.
SymmetricKeyEncryptionRequired true.
TokenEncryptionRequired true.

Applies to

Scope(String, EncryptingCredentials)

Initializes a new instance of the Scope class with the specified appliesTo address and encrypting credentials.

public:
 Scope(System::String ^ appliesToAddress, System::IdentityModel::Tokens::EncryptingCredentials ^ encryptingCredentials);
public Scope (string appliesToAddress, System.IdentityModel.Tokens.EncryptingCredentials encryptingCredentials);
new System.IdentityModel.Scope : string * System.IdentityModel.Tokens.EncryptingCredentials -> System.IdentityModel.Scope
Public Sub New (appliesToAddress As String, encryptingCredentials As EncryptingCredentials)

Parameters

appliesToAddress
String

The appliesTo address of the relying party. This is typically a URI.

encryptingCredentials
EncryptingCredentials

The encrypting credentials for the relying party.

Remarks

The following table shows the initial property values for the new Scope instance.

Property Value.
AppliesToAddress The value of the appliesToAddress parameter.
EncryptingCredentials null.
Properties An empty dictionary.
ReplyToAddress null.
SigningCredentials The value of the signingCredentials parameter.
SymmetricKeyEncryptionRequired true.
TokenEncryptionRequired true.

Applies to

Scope(String, SigningCredentials)

Initializes a new instance of the Scope class with the specified appliesTo address and signing credentials.

public:
 Scope(System::String ^ appliesToAddress, System::IdentityModel::Tokens::SigningCredentials ^ signingCredentials);
public Scope (string appliesToAddress, System.IdentityModel.Tokens.SigningCredentials signingCredentials);
new System.IdentityModel.Scope : string * System.IdentityModel.Tokens.SigningCredentials -> System.IdentityModel.Scope
Public Sub New (appliesToAddress As String, signingCredentials As SigningCredentials)

Parameters

appliesToAddress
String

The appliesTo address of the relying party. This is typically a URI.

signingCredentials
SigningCredentials

The signing credentials for the relying party.

Remarks

The following table shows the initial property values for the new Scope instance.

Property Value.
AppliesToAddress The value of the appliesToAddress parameter.
EncryptingCredentials null.
Properties An empty dictionary.
ReplyToAddress null.
SigningCredentials The value of the signingCredentials parameter.
SymmetricKeyEncryptionRequired true.
TokenEncryptionRequired true.

Applies to

Scope(String, SigningCredentials, EncryptingCredentials)

Initializes a new instance of the Scope class with the specified appliesTo address, signing credentials, and encrypting credentials.

public:
 Scope(System::String ^ appliesToAddress, System::IdentityModel::Tokens::SigningCredentials ^ signingCredentials, System::IdentityModel::Tokens::EncryptingCredentials ^ encryptingCredentials);
public Scope (string appliesToAddress, System.IdentityModel.Tokens.SigningCredentials signingCredentials, System.IdentityModel.Tokens.EncryptingCredentials encryptingCredentials);
new System.IdentityModel.Scope : string * System.IdentityModel.Tokens.SigningCredentials * System.IdentityModel.Tokens.EncryptingCredentials -> System.IdentityModel.Scope
Public Sub New (appliesToAddress As String, signingCredentials As SigningCredentials, encryptingCredentials As EncryptingCredentials)

Parameters

appliesToAddress
String

The appliesTo address of the relying party. This is typically a URI.

signingCredentials
SigningCredentials

The signing credentials for the relying party.

encryptingCredentials
EncryptingCredentials

The encrypting credentials for the relying party.

Remarks

The following table shows the initial property values for the new Scope instance.

Property Value
AppliesToAddress The value of the appliesToAddress parameter.
EncryptingCredentials The value of the encryptingCredentials parameter.
Properties An empty dictionary.
ReplyToAddress null.
SigningCredentials The value of the signingCredentials parameter.
SymmetricKeyEncryptionRequired true.
TokenEncryptionRequired true.

Applies to