Lingua

MicrosoftIdentityOptions.ClientCertificates Proprietà

Definizione

Descrizione dei certificati usati per dimostrare l'identità dell'app Web o dell'API Web.

public System.Collections.Generic.IEnumerable<Microsoft.Identity.Web.CertificateDescription>? ClientCertificates { get; set; }
member this.ClientCertificates : seq<Microsoft.Identity.Web.CertificateDescription> with get, set
Public Property ClientCertificates As IEnumerable(Of CertificateDescription)

Valore della proprietà

Esempio

Esempio nell'appsetting.json:

"ClientCertificates": [
  {
    "SourceType": "StoreWithDistinguishedName",
     "CertificateStorePath": "CurrentUser/My",
     "CertificateDistinguishedName": "CN=WebAppCallingWebApiCert"
    }
   ]
         See also https://aka.ms/ms-id-web-certificates.

Si applica a