MicrosoftIdentityOptions.TokenDecryptionCertificates Proprietà
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.
Descrizione dei certificati usati per decrittografare un token crittografato in un'API Web.
public System.Collections.Generic.IEnumerable<Microsoft.Identity.Web.CertificateDescription>? TokenDecryptionCertificates { get; set; }
member this.TokenDecryptionCertificates : seq<Microsoft.Identity.Web.CertificateDescription> with get, set
Public Property TokenDecryptionCertificates As IEnumerable(Of CertificateDescription)
Valore della proprietà
Esempio
Esempio nell'appsetting.json:
"TokenDecryptionCertificates": [
{
"SourceType": "StoreWithDistinguishedName",
"CertificateStorePath": "CurrentUser/My",
"CertificateDistinguishedName": "CN=WebAppCallingWebApiCert"
}
]
See also https://aka.ms/ms-id-web-certificates.