CodeTransparencyClient 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
CodeTransparencyClient() |
Initializes a new instance of CodeTransparencyClient for mocking. |
CodeTransparencyClient(Uri, AzureKeyCredential) |
Initializes a new instance of CodeTransparencyClient. |
CodeTransparencyClient(Uri, AzureKeyCredential, CodeTransparencyClientOptions) |
Initializes a new instance of CodeTransparencyClient. The client will download its own TLS CA cert to perform server cert authentication. If the CA changes then there is a TTL which will help healing the long lived clients. |
CodeTransparencyClient()
- Source:
- CodeTransparencyClient.cs
Initializes a new instance of CodeTransparencyClient for mocking.
protected CodeTransparencyClient ();
Protected Sub New ()
Applies to
CodeTransparencyClient(Uri, AzureKeyCredential)
- Source:
- CodeTransparencyClient.cs
Initializes a new instance of CodeTransparencyClient.
public CodeTransparencyClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.Security.CodeTransparency.CodeTransparencyClient : Uri * Azure.AzureKeyCredential -> Azure.Security.CodeTransparency.CodeTransparencyClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)
Parameters
- credential
- AzureKeyCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
CodeTransparencyClient(Uri, AzureKeyCredential, CodeTransparencyClientOptions)
- Source:
- CodeTransparencyClient.cs
Initializes a new instance of CodeTransparencyClient. The client will download its own TLS CA cert to perform server cert authentication. If the CA changes then there is a TTL which will help healing the long lived clients.
public CodeTransparencyClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.Security.CodeTransparency.CodeTransparencyClientOptions options);
new Azure.Security.CodeTransparency.CodeTransparencyClient : Uri * Azure.AzureKeyCredential * Azure.Security.CodeTransparency.CodeTransparencyClientOptions -> Azure.Security.CodeTransparency.CodeTransparencyClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As CodeTransparencyClientOptions)
Parameters
- credential
- AzureKeyCredential
A JWT based credential used to authenticate to the Service.
- options
- CodeTransparencyClientOptions
The options for configuring the client.
Exceptions
endpoint
is null.
Applies to
Azure SDK for .NET