Saml2SecurityTokenHandler.CreateAttributeStatement Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea Saml2AttributeStatement da un oggetto SecurityTokenDescriptor e un 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
Parametri
- tokenDescriptor
- SecurityTokenDescriptor
Oggetto SecurityTokenDescriptor contenente informazioni sulla compilazione dell'oggetto Saml2AttributeStatement.
Valori restituiti
A Saml2AttributeStatement.
Eccezioni
se tokenDescriptor è Null.
Commenti
Questo metodo può restituire null se il descrittore di token non contiene alcun oggetto o l'oggetto non dispone di attestazioni.