Taal

SamlSecurityTokenHandler.CreateStatements Methode

Definitie

Genereert een opsomming van SamlStatements van een SecurityTokenDescriptor. Alleen SamlAttributeStatements en SamlAuthenticationStatements worden gegenereerd. Overschrijf deze methode om het maken van instructies aan te passen.

Aanroepen in volgorde (alle zijn virtueel): 1. CreateSamlSubject 2. CreateAttributeStatements 3. CreateAuthenticationStatements 4. CreateAuthorizationDecisionStatement

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

Parameters

tokenDescriptor
SecurityTokenDescriptor

De SecurityTokenDescriptor die moet worden gebruikt om de instructies te bouwen.

authenticationInformation
AuthenticationInformation

aanvullende informatie voor het maken van een SamlAuthenticationStatement.

Retouren

Een opsomming van SamlStatement.

Uitzonderingen

als tokenDescriptor dit null is.

Van toepassing op