共用方式為


ArmApiManagementModelFactory.ClientSecretContract(String) Method

Definition

Initializes a new instance of ClientSecretContract.

public static Azure.ResourceManager.ApiManagement.Models.ClientSecretContract ClientSecretContract (string clientSecret = default);
static member ClientSecretContract : string -> Azure.ResourceManager.ApiManagement.Models.ClientSecretContract
Public Shared Function ClientSecretContract (Optional clientSecret As String = Nothing) As ClientSecretContract

Parameters

clientSecret
String

Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.

Returns

A new ClientSecretContract instance for mocking.

Applies to