Partager via


PartnerCredentials.GenerateByApplicationCredentials Method

Definition

Overloads

GenerateByApplicationCredentials(String, String, String, IRequestContext)

Generates partner credentials using azure active directory application credentials.

GenerateByApplicationCredentials(String, String, String, String, String, IRequestContext)

Generates partner credentials using azure active directory application credentials with the provided AAD overrides.

GenerateByApplicationCredentials(String, String, String, IRequestContext)

Generates partner credentials using azure active directory application credentials.

public Microsoft.Store.PartnerCenter.IPartnerCredentials GenerateByApplicationCredentials (string clientId, string applicationSecret, string aadApplicationDomain, Microsoft.Store.PartnerCenter.RequestContext.IRequestContext requestContext = default);
member this.GenerateByApplicationCredentials : string * string * string * Microsoft.Store.PartnerCenter.RequestContext.IRequestContext -> Microsoft.Store.PartnerCenter.IPartnerCredentials
Public Function GenerateByApplicationCredentials (clientId As String, applicationSecret As String, aadApplicationDomain As String, Optional requestContext As IRequestContext = Nothing) As IPartnerCredentials

Parameters

clientId
String

The client id of the application in azure active directory. This application should be an Azure web application.

applicationSecret
String

The application secret with azure active directory.

aadApplicationDomain
String

The application domain in Azure Active Directory.

requestContext
IRequestContext

An optional request context.

Returns

The partner service credentials.

Applies to

GenerateByApplicationCredentials(String, String, String, String, String, IRequestContext)

Generates partner credentials using azure active directory application credentials with the provided AAD overrides.

public Microsoft.Store.PartnerCenter.IPartnerCredentials GenerateByApplicationCredentials (string clientId, string applicationSecret, string aadApplicationDomain, string aadAuthorityEndpoint, string graphEndpoint, Microsoft.Store.PartnerCenter.RequestContext.IRequestContext requestContext = default);
member this.GenerateByApplicationCredentials : string * string * string * string * string * Microsoft.Store.PartnerCenter.RequestContext.IRequestContext -> Microsoft.Store.PartnerCenter.IPartnerCredentials
Public Function GenerateByApplicationCredentials (clientId As String, applicationSecret As String, aadApplicationDomain As String, aadAuthorityEndpoint As String, graphEndpoint As String, Optional requestContext As IRequestContext = Nothing) As IPartnerCredentials

Parameters

clientId
String

The client id of the application in azure active directory. This application should be an Azure web application.

applicationSecret
String

The application secret with azure active directory.

aadApplicationDomain
String

The application domain in Azure Active Directory.

aadAuthorityEndpoint
String

The active directory authority endpoint.

graphEndpoint
String

The AAD graph API endpoint.

requestContext
IRequestContext

An optional request context.

Returns

The partner service credentials.

Applies to