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.