JsonWebToken.Alg Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la « valeur » de la revendication « alg » de l’en-tête.
public string Alg { get; }
member this.Alg : string
Public ReadOnly Property Alg As String
Valeur de propriété
Remarques
Identifie l’algorithme de chiffrement utilisé pour chiffrer ou déterminer la valeur de la clé de chiffrement de contenu. Applicable à un JWT chiffré (JWE). Voir : https://datatracker.ietf.org/doc/html/rfc7516#section-4-1-1.
Si la revendication « alg » est introuvable, une chaîne vide est retournée.