共用方式為


SamlSecurityTokenHandler.CreateAuthenticationStatement 方法

定義

從指定的驗證資訊建立 SAML 1.1 驗證陳述式。

protected:
 virtual System::IdentityModel::Tokens::SamlAuthenticationStatement ^ CreateAuthenticationStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::Security::Claims::AuthenticationInformation ^ authInfo, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.SamlAuthenticationStatement CreateAuthenticationStatement (System.IdentityModel.Tokens.SamlSubject samlSubject, System.Security.Claims.AuthenticationInformation authInfo, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAuthenticationStatement
override this.CreateAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAuthenticationStatement
Protected Overridable Function CreateAuthenticationStatement (samlSubject As SamlSubject, authInfo As AuthenticationInformation, tokenDescriptor As SecurityTokenDescriptor) As SamlAuthenticationStatement

參數

samlSubject
SamlSubject

陳述式的 SamlSubject。

authInfo
AuthenticationInformation

要從其中產生 SAML 驗證陳述式的 AuthenticationInformation

tokenDescriptor
SecurityTokenDescriptor

包含權杖發佈使用的所有其他資訊。

傳回

已建立的 SAML 驗證陳述式。

例外狀況

samlSubjectnull

-或-

tokenDescriptornull

適用於