<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.14.0" />

Microsoft.IdentityModel.Tokens.SecurityTokenEncryptionFailedException

Represents a security token exception when encryption failed.

Initializes a new instance of the SecurityTokenEncryptionFailedException class.

Initializes a new instance of the SecurityTokenEncryptionFailedException class with a specified error message.

public SecurityTokenEncryptionFailedException(string message, Exception innerException)

Initializes a new instance of the SecurityTokenEncryptionFailedException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Initializes a new instance of the SecurityTokenEncryptionFailedException class.