Idioma

Saml2SecurityTokenHandler.CreateAttributeStatement Método

Definição

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

Parâmetros

tokenDescriptor
SecurityTokenDescriptor

O SecurityTokenDescriptor que contém informação sobre a construção do Saml2AttributeStatement.

Devoluções

Uma AfirmaçãoDeAtributoAS.

Exceções

se tokenDescriptor for nulo.

Observações

Este método pode devolver nulo se o descritor do token não contiver qualquer sujeito ou se o sujeito não tiver reivindicações.

Aplica-se a