Language

SamlSecurityTokenHandler.CreateAttributeStatement メソッド

定義

SamlAttributeStatements を作成し、コレクションに追加します。 カスタム実装を提供するには、このメソッドをオーバーライドします。

既定の動作では、tokenDescriptor.Subjects コレクション内の各サブジェクトに対して新しい SamlAttributeStatement を作成します。

protected virtual Microsoft.IdentityModel.Tokens.Saml.SamlAttributeStatement CreateAttributeStatement(Microsoft.IdentityModel.Tokens.Saml.SamlSubject subject, Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAttributeStatement : Microsoft.IdentityModel.Tokens.Saml.SamlSubject * Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml.SamlAttributeStatement
override this.CreateAttributeStatement : Microsoft.IdentityModel.Tokens.Saml.SamlSubject * Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml.SamlAttributeStatement
Protected Overridable Function CreateAttributeStatement (subject As SamlSubject, tokenDescriptor As SecurityTokenDescriptor) As SamlAttributeStatement

パラメーター

subject
SamlSubject

作成される SamlAttributeStatement で使用する SamlSubject。

tokenDescriptor
SecurityTokenDescriptor

トークンの発行に使用されるその他すべての情報が含まれます。

返品

SamlAttributeStatement

例外

tokenDescriptorが null の場合。

適用対象