Saml2SecurityTokenHandler.CreateAttributeStatement Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria Saml2AttributeStatement a partir de um SecurityTokenDescriptor e um ClaimsIdentity
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.