Compartir a través de


SupportingTokenSpecification Constructores

Definición

Inicializa una nueva instancia de la clase SupportingTokenSpecification.

Sobrecargas

SupportingTokenSpecification(SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>, SecurityTokenAttachmentMode)

Inicializa una nueva instancia de la clase SupportingTokenSpecification.

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

Inicializa una nueva instancia de la clase SupportingTokenSpecification.

SupportingTokenSpecification(SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>, SecurityTokenAttachmentMode)

Inicializa una nueva instancia de la clase 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)

Parámetros

token
SecurityToken

Token de seguridad.

tokenPolicies
ReadOnlyCollection<IAuthorizationPolicy>

Colección de directivas de token de seguridad.

attachmentMode
SecurityTokenAttachmentMode

Modo de datos adjuntos del token de seguridad.

Excepciones

attachmentMode es null.

Se aplica a

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

Inicializa una nueva instancia de la clase 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)

Parámetros

token
SecurityToken

Token de seguridad.

tokenPolicies
ReadOnlyCollection<IAuthorizationPolicy>

Colección de directivas de token de seguridad.

attachmentMode
SecurityTokenAttachmentMode

Modo de datos adjuntos del token de seguridad.

tokenParameters
SecurityTokenParameters

Parámetros para elementos de enlace que controlan los tokens de seguridad.

Se aplica a