Επεξεργασία

Κοινή χρήση μέσω


SecurityKeyElement Constructors

Definition

Initializes a new instance of the SecurityKeyElement class.

Overloads

SecurityKeyElement(SecurityKeyIdentifier, SecurityTokenResolver)

Initializes a new instance of the SecurityKeyElement class from the specified key identifier.

SecurityKeyElement(SecurityKeyIdentifierClause, SecurityTokenResolver)

Initializes a new instance of the SecurityKeyElement class from the specified key identifier clause.

SecurityKeyElement(SecurityKeyIdentifier, SecurityTokenResolver)

Initializes a new instance of the SecurityKeyElement class from the specified key identifier.

public:
 SecurityKeyElement(System::IdentityModel::Tokens::SecurityKeyIdentifier ^ securityKeyIdentifier, System::IdentityModel::Selectors::SecurityTokenResolver ^ securityTokenResolver);
public SecurityKeyElement (System.IdentityModel.Tokens.SecurityKeyIdentifier securityKeyIdentifier, System.IdentityModel.Selectors.SecurityTokenResolver securityTokenResolver);
new System.IdentityModel.Tokens.SecurityKeyElement : System.IdentityModel.Tokens.SecurityKeyIdentifier * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityKeyElement
Public Sub New (securityKeyIdentifier As SecurityKeyIdentifier, securityTokenResolver As SecurityTokenResolver)

Parameters

securityKeyIdentifier
SecurityKeyIdentifier

A key identifier that represents a SecurityKey.

securityTokenResolver
SecurityTokenResolver

A token resolver that can be resolved to a SecurityKey.

Exceptions

securityKeyIdentifier is null.

Applies to

SecurityKeyElement(SecurityKeyIdentifierClause, SecurityTokenResolver)

Initializes a new instance of the SecurityKeyElement class from the specified key identifier clause.

public:
 SecurityKeyElement(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ securityKeyIdentifierClause, System::IdentityModel::Selectors::SecurityTokenResolver ^ securityTokenResolver);
public SecurityKeyElement (System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause, System.IdentityModel.Selectors.SecurityTokenResolver securityTokenResolver);
new System.IdentityModel.Tokens.SecurityKeyElement : System.IdentityModel.Tokens.SecurityKeyIdentifierClause * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityKeyElement
Public Sub New (securityKeyIdentifierClause As SecurityKeyIdentifierClause, securityTokenResolver As SecurityTokenResolver)

Parameters

securityKeyIdentifierClause
SecurityKeyIdentifierClause

A key identifier clause that represents a SecurityKey.

securityTokenResolver
SecurityTokenResolver

A token resolver that can be resolved to a SecurityKey.

Exceptions

securityKeyIdentifierClause is null.

Applies to