Saml2SecurityTokenHandler.CreateAttributeStatement Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Crea Saml2AttributeStatement a partir de y 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
Parámetros
- tokenDescriptor
- SecurityTokenDescriptor
SecurityTokenDescriptor que contiene información sobre cómo compilar .Saml2AttributeStatement
Devoluciones
A Saml2AttributeStatement.
Excepciones
si tokenDescriptor es null.
Comentarios
Este método puede devolver null si el descriptor de token no contiene ningún asunto o el asunto no tiene ninguna notificación.