Language

SamlSecurityTokenHandler.CreateAuthenticationStatement メソッド

定義

AuthenticationInformation で見つかった各 AuthenticationInformation に対して SamlAuthenticationStatement を作成します。 カスタム実装を提供するには、このメソッドをオーバーライドします。

protected virtual Microsoft.IdentityModel.Tokens.Saml.SamlAuthenticationStatement CreateAuthenticationStatement(Microsoft.IdentityModel.Tokens.Saml.SamlSubject subject, Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation authenticationInformation);
abstract member CreateAuthenticationStatement : Microsoft.IdentityModel.Tokens.Saml.SamlSubject * Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation -> Microsoft.IdentityModel.Tokens.Saml.SamlAuthenticationStatement
override this.CreateAuthenticationStatement : Microsoft.IdentityModel.Tokens.Saml.SamlSubject * Microsoft.IdentityModel.Tokens.Saml.AuthenticationInformation -> Microsoft.IdentityModel.Tokens.Saml.SamlAuthenticationStatement
Protected Overridable Function CreateAuthenticationStatement (subject As SamlSubject, authenticationInformation As AuthenticationInformation) As SamlAuthenticationStatement

パラメーター

subject
SamlSubject

ステートメントの SamlSubject。

authenticationInformation
AuthenticationInformation

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

返品

SamlAuthenticationStatement

例外

subjectが null の場合。

Assertion に 1 つ以上の AuthenticationStatement があり、AuthenticationMethod と authenticationInstant の 1 つが null の場合。

適用対象