Sprache

SamlSecurityTokenHandler.CreateAuthenticationStatement Methode

Definition

Erstellt einen SamlAuthenticationStatement für jede AuthenticationInformation, die in AuthenticationInformation gefunden wurde. Überschreiben Sie diese Methode, um eine benutzerdefinierte Implementierung bereitzustellen.

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

Parameter

subject
SamlSubject

Das SamlSubject der Anweisung.

authenticationInformation
AuthenticationInformation

Enthält alle anderen Informationen, die in der Tokenausstellung verwendet werden.

Gibt zurück

Samlauthenticationstatement

Ausnahmen

wenn subject null ist.

wenn Assertion über einen oder mehrere AuthenticationStatement verfügt und einer von AuthenticationMethod und authenticationInstant null ist.

Gilt für: