docs.azure.cn Open in urlscan Pro
2620:1ec:49::44  Public Scan

Submitted URL: https://docs.azure.cn/en-us/dotnet/api/microsoft.identity.web.defaultcertificateloader
Effective URL: https://docs.azure.cn/en-us/dotnet/api/microsoft.identity.web.defaultcertificateloader?view=azure-dotnet-preview
Submission: On June 28 via manual from US — Scanned from DE

Form analysis 1 forms found in the DOM

<form class="feedback-verbatim-form width-250-tablet" data-feedback-verbatim-form="" id="reference-binary-rating-form">
  <div class="binary-rating-buttons">
    <h3 id="binary-rating-heading" class="font-weight-semibold margin-top-none margin-bottom-xs font-size-h5 has-caret">Is this page helpful?</h3>
    <div class="buttons">
      <button class="thumb-rating like margin-right-xxs button button-clear button-sm" data-binary-rating-response="rating-yes" title="Yes" type="button" data-bi-name="rating-yes" data-bi-sat="1">
        <span aria-hidden="true" class="icon docon docon-like"></span>
        <span>Yes</span>
      </button>
      <button class="thumb-rating dislike button button-clear button-sm" data-binary-rating-response="rating-no" title="No" data-bi-name="rating-no" type="button" data-bi-sat="0">
        <span aria-hidden="true" class="icon docon docon-dislike"></span>
        <span>No</span>
      </button>
    </div>
  </div>
  <div id="binary-verbatim-container" class="font-size-xs margin-top-xs">
    <div class="verbatim-textarea">
      <label for="binary-rating-textarea" class="visually-hidden"> Any additional feedback? </label>
      <textarea id="binary-rating-textarea" data-binary-rating-text="" rows="4" maxlength="999" placeholder="Any additional feedback?" class="textarea has-inner-focus"></textarea>
    </div>
    <p class="has-line-height-reset has-text-wrap">Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services.
      <a href="https://privacy.microsoft.com/en-us/privacystatement" data-linktype="external">Privacy policy.</a></p>
    <div class="buttons buttons-right margin-top-xs margin-right-xxs">
      <button class="submit-rating button button-primary button-filled button-sm" data-bi-name="rating-verbatim" data-binary-rating-submit="" type="submit" disabled="">Submit</button>
    </div>
  </div>
</form>

Text Content

Skip to main content


This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security
updates, and technical support.

Download Microsoft Edge More info

Table of contents Exit focus mode

Language
 * 
 * 
 * 

Read in English
Table of contents Read in English Edit
Table of contents


DEFAULTCERTIFICATELOADER CLASS

 * Reference


IS THIS PAGE HELPFUL?

Yes No
Any additional feedback?

Feedback will be sent to Microsoft: By pressing the submit button, your feedback
will be used to improve Microsoft products and services. Privacy policy.

Submit

Thank you.


DEFINITION

Namespace: Microsoft.Identity.Web Assembly:Microsoft.Identity.Web.dll
Package:Microsoft.Identity.Web v1.15.2

Important

Some information relates to prerelease product that may be substantially
modified before it’s released. Microsoft makes no warranties, express or
implied, with respect to the information provided here.

Certificate Loader. Only use when loading a certificate from a daemon
application, or an ASP NET app, using MSAL .NET directly. For an ASP NET Core
app, Microsoft Identity Web will handle the certificate loading for you.

IConfidentialClientApplication app;
ICertificateLoader certificateLoader = new DefaultCertificateLoader();
    certificateLoader.LoadIfNeeded(config.CertificateDescription);

   app = ConfidentialClientApplicationBuilder.Create(config.ClientId)
          .WithCertificate(config.CertificateDescription.Certificate)
          .WithAuthority(new Uri(config.Authority))
          .Build();



IN THIS ARTICLE

public class DefaultCertificateLoader : Microsoft.Identity.Web.ICertificateLoader

type DefaultCertificateLoader = class
    interface ICertificateLoader

Public Class DefaultCertificateLoader
Implements ICertificateLoader

Inheritance
System.Object
DefaultCertificateLoader
Implements
ICertificateLoader


CONSTRUCTORS

DefaultCertificateLoader()


PROPERTIES

UserAssignedManagedIdentityClientId

User assigned managed identity client ID (as opposed to system assigned managed
identity) See
https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-portal.


METHODS

LoadIfNeeded(CertificateDescription)

Load the certificate from the description, if needed.


APPLIES TO




Theme
 * Light
 * Dark
 * High contrast

 * 
 * SH ICP Filing No. 13015306-25
 * PSB Filing No. 31011502002224
 * Privacy
 * Microsoft Azure Operated by 21Vianet
 * © Microsoft 2022


IN THIS ARTICLE




Theme
 * Light
 * Dark
 * High contrast

 * 
 * SH ICP Filing No. 13015306-25
 * PSB Filing No. 31011502002224
 * Privacy
 * Microsoft Azure Operated by 21Vianet
 * © Microsoft 2022