SslSecurityTokenParameters.CreateKeyIdentifierClause 方法

定义

为令牌创建密钥标识符子句。

protected public:
 override System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ CreateKeyIdentifierClause(System::IdentityModel::Tokens::SecurityToken ^ token, System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle referenceStyle);
protected internal override System.IdentityModel.Tokens.SecurityKeyIdentifierClause CreateKeyIdentifierClause (System.IdentityModel.Tokens.SecurityToken token, System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle referenceStyle);
override this.CreateKeyIdentifierClause : System.IdentityModel.Tokens.SecurityToken * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Protected Friend Overrides Function CreateKeyIdentifierClause (token As SecurityToken, referenceStyle As SecurityTokenReferenceStyle) As SecurityKeyIdentifierClause

参数

token
SecurityToken

令牌。

referenceStyle
SecurityTokenReferenceStyle

安全标记的引用类型。

返回

SecurityKeyIdentifierClause

标记的密钥标识符子句。

例外

tokennull

referenceStyle 不是 ExternalInternal

注解

该方法使用 CreateKeyIdentifierClause 方法创建密钥标识符子句,并将 referenceStyle 作为泛型参数。

适用于