Saml2SecurityTokenHandler.CreateAttributeStatement Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée à Saml2AttributeStatement partir d’un et d’un SecurityTokenDescriptorClaimsIdentity
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.