SamlSecurityTokenHandler.CreateAuthenticationStatement Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en SamlAuthenticationStatement för varje AuthenticationInformation som finns i AuthenticationInformation. Åsidosätt den här metoden för att tillhandahålla en anpassad implementering.
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
Parametrar
- subject
- SamlSubject
SamlSubject för instruktionen.
- authenticationInformation
- AuthenticationInformation
Innehåller all annan information som används i tokenutfärding.
Returer
SamlAuthenticationStatement
Undantag
om subject är null.
if Assertion has one or more AuthenticationStatement, and one of AuthenticationMethod and authenticationInstant is null.