Språk

Saml2SecurityTokenHandler.CreateStatements Metod

Definition

Överlagringar

CreateStatements(SecurityTokenDescriptor)

Skapar en IEnumerable<T> av Saml2Statement som ska ingå i försäkran.

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)

Parametrar

tokenDescriptor
SecurityTokenDescriptor

Som SecurityTokenDescriptor innehåller information om hur du Saml2Statementskapar .

Returer

En uppräkning av Saml2Statements.

Undantag

om tokenDescriptor är null.

Kommentarer

Instruktioner krävs inte i en SAML2-försäkran. Den här metoden kan returnera en tom samling.

Gäller för

CreateStatements(SecurityTokenDescriptor, AuthenticationInformation)

Skapar en IEnumerable<T> av Saml2Statement som ska ingå i försäkran.

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)

Parametrar

tokenDescriptor
SecurityTokenDescriptor

Som SecurityTokenDescriptor innehåller information om hur du Saml2Statementskapar .

authenticationInformation
AuthenticationInformation

ytterligare information som används när du skapar en Saml2AuthenticationStatement.

Returer

En uppräkning av Saml2Statements.

Undantag

om tokenDescriptor är null.

Kommentarer

Instruktioner krävs inte i en SAML2-försäkran. Den här metoden kan returnera en tom samling.

Gäller för