Containing certificate used to create client assertion.
상속: 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;
        }
예제 #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;
 }