語言

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

聲明的主體。

authenticationInformation
AuthenticationInformation

包含代幣發行中使用的所有其他資訊。

傳回

Saml 認證語句

例外狀況

若 subject 為零。

若 Assertion 有一個或多個 AuthenticationStatement,以及 AuthenticationMethod 和 AuthenticationInstant 中的一個 AuthenticationStatement 為空。

適用於