語言

Saml2SecurityTokenHandler.CreateStatements 方法

定義

多載

名稱 Description
CreateStatements(SecurityTokenDescriptor)

建立 IEnumerable<T> 一個 的 Saml2Statement ,使其包含在斷言中。

CreateStatements(SecurityTokenDescriptor, AuthenticationInformation)

建立 IEnumerable<T> 一個 的 Saml2Statement ,使其包含在斷言中。

CreateStatements(SecurityTokenDescriptor)

建立 IEnumerable<T> 一個 的 Saml2Statement ,使其包含在斷言中。

protected virtual System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement> CreateStatements(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
override this.CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor) As IEnumerable(Of Saml2Statement)

參數

tokenDescriptor
SecurityTokenDescriptor

SecurityTokenDescriptor該 該 包含建立 .Saml2Statement

傳回

Saml2Statements 的枚舉。

例外狀況

若 tokenDescriptor 為零。

備註

SAML2 斷言中不要求陳述。 此方法可能會回傳空集合。

適用於

CreateStatements(SecurityTokenDescriptor, AuthenticationInformation)

建立 IEnumerable<T> 一個 的 Saml2Statement ,使其包含在斷言中。

protected virtual System.Collections.Generic.IEnumerable<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement> CreateStatements(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor, Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation authenticationInformation);
abstract member CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
override this.CreateStatements : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor * Microsoft.IdentityModel.Tokens.Saml2.AuthenticationInformation -> seq<Microsoft.IdentityModel.Tokens.Saml2.Saml2Statement>
Protected Overridable Function CreateStatements (tokenDescriptor As SecurityTokenDescriptor, authenticationInformation As AuthenticationInformation) As IEnumerable(Of Saml2Statement)

參數

tokenDescriptor
SecurityTokenDescriptor

SecurityTokenDescriptor該 該 包含建立 .Saml2Statement

authenticationInformation
AuthenticationInformation

建立 Saml2AuthenticationStatement.

傳回

Saml2Statements 的枚舉。

例外狀況

若 tokenDescriptor 為零。

備註

SAML2 斷言中不要求陳述。 此方法可能會回傳空集合。

適用於