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ções sobre como criar o Saml2AttributeStatement.

Retornos

Um Saml2AttributeStatement.

Exceções

se tokenDescriptor for nulo.

Comentários

Esse método poderá retornar nulo se o descritor de token não contiver qualquer assunto ou se o assunto não tiver nenhuma declaração.

Aplica-se a