SamlSecurityTokenHandler.CreateAttributeStatement メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 の場合。