Langue

Saml2SecurityTokenHandler.CreateAttributeStatement Méthode

Définition

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

Paramètres

tokenDescriptor
SecurityTokenDescriptor

Qui SecurityTokenDescriptor contient des informations sur la création du Saml2AttributeStatement.

Retours

A Saml2AttributeStatement.

Exceptions

si tokenDescriptor la valeur est null.

Remarques

Cette méthode peut retourner null si le descripteur de jeton ne contient aucun objet ou si l’objet n’a pas de revendications.

S’applique à