Sprache

Saml2SecurityTokenHandler.CreateAttributeStatement Methode

Definition

protected virtual Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement CreateAttributeStatement(Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAttributeStatement : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement
override this.CreateAttributeStatement : Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor -> Microsoft.IdentityModel.Tokens.Saml2.Saml2AttributeStatement
Protected Overridable Function CreateAttributeStatement (tokenDescriptor As SecurityTokenDescriptor) As Saml2AttributeStatement

Parameter

tokenDescriptor
SecurityTokenDescriptor

Das SecurityTokenDescriptor Enthält Informationen zum Erstellen der Saml2AttributeStatement.

Gibt zurück

Ein Saml2AttributeStatement.

Ausnahmen

wenn tokenDescriptor null ist.

Hinweise

Diese Methode kann NULL zurückgeben, wenn der Tokendeskriptor keinen Betreff enthält oder der Betreff keine Ansprüche hat.

Gilt für: