Share via


JsonWebToken.AuthenticationTag Property

Definition

Gets the AuthenticationTag from the original raw data of this instance when it was created.

public string AuthenticationTag { get; }
member this.AuthenticationTag : string
Public ReadOnly Property AuthenticationTag As String

Property Value

Remarks

Contains the results of a Authentication Encryption with Associated Data (AEAD). see: https://datatracker.ietf.org/doc/html/rfc7516#section-2

If this JWT is not encrypted with an algorithms that uses an Authentication Tag, an empty string will be returned.

Applies to