Saml2SecurityTokenHandler.CreateAttributeStatement Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria Saml2AttributeStatement de um SecurityTokenDescriptor e de 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çõ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.