Partager via


SupportingTokenSpecification Constructeurs

Définition

Initialise une nouvelle instance de la classe SupportingTokenSpecification.

Surcharges

SupportingTokenSpecification(SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>, SecurityTokenAttachmentMode)

Initialise une nouvelle instance de la classe SupportingTokenSpecification.

SupportingTokenSpecification(SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>, SecurityTokenAttachmentMode, SecurityTokenParameters)

Initialise une nouvelle instance de la classe SupportingTokenSpecification.

SupportingTokenSpecification(SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>, SecurityTokenAttachmentMode)

Source:
SupportingTokenSpecification.cs
Source:
SupportingTokenSpecification.cs
Source:
SupportingTokenSpecification.cs

Initialise une nouvelle instance de la classe SupportingTokenSpecification.

public:
 SupportingTokenSpecification(System::IdentityModel::Tokens::SecurityToken ^ token, System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ tokenPolicies, System::ServiceModel::Security::SecurityTokenAttachmentMode attachmentMode);
public SupportingTokenSpecification (System.IdentityModel.Tokens.SecurityToken token, System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> tokenPolicies, System.ServiceModel.Security.SecurityTokenAttachmentMode attachmentMode);
new System.ServiceModel.Security.SupportingTokenSpecification : System.IdentityModel.Tokens.SecurityToken * System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> * System.ServiceModel.Security.SecurityTokenAttachmentMode -> System.ServiceModel.Security.SupportingTokenSpecification
Public Sub New (token As SecurityToken, tokenPolicies As ReadOnlyCollection(Of IAuthorizationPolicy), attachmentMode As SecurityTokenAttachmentMode)

Paramètres

token
SecurityToken

Jeton de sécurité.

tokenPolicies
ReadOnlyCollection<IAuthorizationPolicy>

Collection de stratégies de jeton de sécurité.

attachmentMode
SecurityTokenAttachmentMode

Mode d'attache du jeton de sécurité.

Exceptions

attachmentMode a la valeur null.

S’applique à

SupportingTokenSpecification(SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>, SecurityTokenAttachmentMode, SecurityTokenParameters)

Source:
SupportingTokenSpecification.cs
Source:
SupportingTokenSpecification.cs
Source:
SupportingTokenSpecification.cs

Initialise une nouvelle instance de la classe SupportingTokenSpecification.

public:
 SupportingTokenSpecification(System::IdentityModel::Tokens::SecurityToken ^ token, System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ tokenPolicies, System::ServiceModel::Security::SecurityTokenAttachmentMode attachmentMode, System::ServiceModel::Security::Tokens::SecurityTokenParameters ^ tokenParameters);
public SupportingTokenSpecification (System.IdentityModel.Tokens.SecurityToken token, System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> tokenPolicies, System.ServiceModel.Security.SecurityTokenAttachmentMode attachmentMode, System.ServiceModel.Security.Tokens.SecurityTokenParameters tokenParameters);
new System.ServiceModel.Security.SupportingTokenSpecification : System.IdentityModel.Tokens.SecurityToken * System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> * System.ServiceModel.Security.SecurityTokenAttachmentMode * System.ServiceModel.Security.Tokens.SecurityTokenParameters -> System.ServiceModel.Security.SupportingTokenSpecification
Public Sub New (token As SecurityToken, tokenPolicies As ReadOnlyCollection(Of IAuthorizationPolicy), attachmentMode As SecurityTokenAttachmentMode, tokenParameters As SecurityTokenParameters)

Paramètres

token
SecurityToken

Jeton de sécurité.

tokenPolicies
ReadOnlyCollection<IAuthorizationPolicy>

Collection de stratégies de jeton de sécurité.

attachmentMode
SecurityTokenAttachmentMode

Mode d'attache du jeton de sécurité.

tokenParameters
SecurityTokenParameters

Paramètres des éléments de liaison qui contrôlent les jetons de sécurité.

S’applique à