Scope Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.ScopePublic 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 appliesToAddressparameter. | 
| 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.ScopePublic 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 appliesToAddressparameter. | 
| EncryptingCredentials | null. | 
| Properties | An empty dictionary. | 
| ReplyToAddress | null. | 
| SigningCredentials | The value of the signingCredentialsparameter. | 
| 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.ScopePublic 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 appliesToAddressparameter. | 
| EncryptingCredentials | null. | 
| Properties | An empty dictionary. | 
| ReplyToAddress | null. | 
| SigningCredentials | The value of the signingCredentialsparameter. | 
| 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.ScopePublic 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 appliesToAddressparameter. | 
| EncryptingCredentials | The value of the encryptingCredentialsparameter. | 
| Properties | An empty dictionary. | 
| ReplyToAddress | null. | 
| SigningCredentials | The value of the signingCredentialsparameter. | 
| SymmetricKeyEncryptionRequired | true. | 
| TokenEncryptionRequired | true. |