ClientCredential Constructors
Definition
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.
Overloads
ClientCredential(ClientAssertionCertificate) |
Constructor of client (application) credentials from a ClientAssertionCertificate |
ClientCredential(String) |
Constructor of client (application) credentials from a client secret, also known as the application password. |
ClientCredential(ClientAssertionCertificate)
Constructor of client (application) credentials from a ClientAssertionCertificate
public ClientCredential (Microsoft.Identity.Client.ClientAssertionCertificate certificate);
new Microsoft.Identity.Client.ClientCredential : Microsoft.Identity.Client.ClientAssertionCertificate -> Microsoft.Identity.Client.ClientCredential
Public Sub New (certificate As ClientAssertionCertificate)
Parameters
- certificate
- ClientAssertionCertificate
contains information about the certificate previously shared with AAD at application registration to prove the identity of the application (the client) requesting the tokens.
Applies to
ClientCredential(String)
Constructor of client (application) credentials from a client secret, also known as the application password.
public ClientCredential (string secret);
new Microsoft.Identity.Client.ClientCredential : string -> Microsoft.Identity.Client.ClientCredential
Public Sub New (secret As String)
Parameters
- secret
- String
Secret string previously shared with AAD at application registration to prove the identity of the application (the client) requesting the tokens.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應