Share via


Saml2SecurityTokenHandler.CreateAttributeStatement メソッド

定義

トークン記述子から Saml2AttributeStatement オブジェクトを作成します。

protected:
 virtual System::IdentityModel::Tokens::Saml2AttributeStatement ^ CreateAttributeStatement(System::Security::Claims::ClaimsIdentity ^ subject, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.Saml2AttributeStatement CreateAttributeStatement (System.Security.Claims.ClaimsIdentity subject, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAttributeStatement : System.Security.Claims.ClaimsIdentity * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2AttributeStatement
override this.CreateAttributeStatement : System.Security.Claims.ClaimsIdentity * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2AttributeStatement
Protected Overridable Function CreateAttributeStatement (subject As ClaimsIdentity, tokenDescriptor As SecurityTokenDescriptor) As Saml2AttributeStatement

パラメーター

subject
ClaimsIdentity

SAML に変換されるクレームを含む ClaimsIdentity オブジェクト。

tokenDescriptor
SecurityTokenDescriptor

トークン記述子。

戻り値

変換されたクレームを格納する Saml2AttributeStatement

注釈

トークン記述子にサブジェクトが含まれていない場合、またはサブジェクトにクレームがない場合、このメソッドは を返す null 場合があります。

適用対象