ArmApiManagementModelFactory.AuthorizationServerSecretsContract Method

Definition

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