ArmApiManagementModelFactory.AuthorizationServerSecretsContract Method
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.
Initializes a new instance of AuthorizationServerSecretsContract.
public static Azure.ResourceManager.ApiManagement.Models.AuthorizationServerSecretsContract AuthorizationServerSecretsContract (string clientSecret = default, string resourceOwnerUsername = default, string resourceOwnerPassword = default);
static member AuthorizationServerSecretsContract : string * string * string -> Azure.ResourceManager.ApiManagement.Models.AuthorizationServerSecretsContract
Public Shared Function AuthorizationServerSecretsContract (Optional clientSecret As String = Nothing, Optional resourceOwnerUsername As String = Nothing, Optional resourceOwnerPassword As String = Nothing) As AuthorizationServerSecretsContract
Parameters
- clientSecret
- String
oAuth Authorization Server Secrets.
- resourceOwnerUsername
- String
Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username.
- resourceOwnerPassword
- String
Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password.
Returns
A new AuthorizationServerSecretsContract instance for mocking.
Applies to
Azure SDK for .NET