Containing certificate used to create client assertion.
Inheritance: IClientAssertionCertificate
        /// <summary>
        /// Constructor of client (application) credentials from a <see cref="ClientAssertionCertificate"/>
        /// </summary>
        /// <param name="certificate">contains information about the certificate previously shared with AAD at application
        /// registration to prove the identity of the application (the client) requesting the tokens.</param>
        public ClientCredential(ClientAssertionCertificate certificate)
        {
            ConfidentialClientApplication.GuardMobileFrameworks();

            Certificate = certificate;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor provide client assertion certificate
 /// </summary>
 /// <param name="certificate">certificate of the client requesting the token.</param>
 public ClientCredential(ClientAssertionCertificate certificate)
 {
     Certificate = certificate;
 }