SupportingTokenSpecification Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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)
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)
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é.