Język

Saml2SecurityTokenHandler.CreateAttributeStatement Metoda

Definicja

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

Parametry

tokenDescriptor
SecurityTokenDescriptor

Element SecurityTokenDescriptor zawierający informacje dotyczące kompilowania obiektu Saml2AttributeStatement.

Zwraca

A Saml2AttributeStatement.

Wyjątki

jeśli tokenDescriptor ma wartość null.

Uwagi

Ta metoda może zwrócić wartość null, jeśli deskryptor tokenu nie zawiera żadnego podmiotu lub podmiot nie ma żadnych oświadczeń.

Dotyczy