Språk

Saml2SecurityTokenHandler.CreateAttributeStatement Metod

Definition

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

Parametrar

tokenDescriptor
SecurityTokenDescriptor

Som SecurityTokenDescriptor innehåller information om hur du Saml2AttributeStatementskapar .

Returer

En Saml2AttributeStatement.

Undantag

om tokenDescriptor är null.

Kommentarer

Den här metoden kan returnera null om tokenbeskrivningen inte innehåller något ämne eller om ämnet inte har några anspråk.

Gäller för