次の方法で共有


AzureADPartnerClientAuthentication Class

public final class AzureADPartnerClientAuthentication
extends PartnerClientAuthentication

Microsoft Entra ID Partner Client Authentication.

Constructor Summary

Constructor Description
AzureADPartnerClientAuthentication()

Creates an instance of AzureADPartnerClientAuthentication class.

Method Summary

Modifier and Type Method and Description
String azureActiveDirectoryApplicationIdOrUri()

Get the azureActiveDirectoryApplicationIdOrUri property: The Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.

String azureActiveDirectoryTenantId()

Get the azureActiveDirectoryTenantId property: The Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.

PartnerClientAuthenticationType clientAuthenticationType()

Get the clientAuthenticationType property: Type of client authentication.

static AzureADPartnerClientAuthentication fromJson(JsonReader jsonReader)

Reads an instance of AzureADPartnerClientAuthentication from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureADPartnerClientAuthentication withAzureActiveDirectoryApplicationIdOrUri(String azureActiveDirectoryApplicationIdOrUri)

Set the azureActiveDirectoryApplicationIdOrUri property: The Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.

AzureADPartnerClientAuthentication withAzureActiveDirectoryTenantId(String azureActiveDirectoryTenantId)

Set the azureActiveDirectoryTenantId property: The Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.

Methods inherited from PartnerClientAuthentication

Methods inherited from java.lang.Object

Constructor Details

AzureADPartnerClientAuthentication

public AzureADPartnerClientAuthentication()

Creates an instance of AzureADPartnerClientAuthentication class.

Method Details

azureActiveDirectoryApplicationIdOrUri

public String azureActiveDirectoryApplicationIdOrUri()

Get the azureActiveDirectoryApplicationIdOrUri property: The Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.

Returns:

the azureActiveDirectoryApplicationIdOrUri value.

azureActiveDirectoryTenantId

public String azureActiveDirectoryTenantId()

Get the azureActiveDirectoryTenantId property: The Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.

Returns:

the azureActiveDirectoryTenantId value.

clientAuthenticationType

public PartnerClientAuthenticationType clientAuthenticationType()

Get the clientAuthenticationType property: Type of client authentication.

Overrides:

AzureADPartnerClientAuthentication.clientAuthenticationType()

Returns:

the clientAuthenticationType value.

fromJson

public static AzureADPartnerClientAuthentication fromJson(JsonReader jsonReader)

Reads an instance of AzureADPartnerClientAuthentication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureADPartnerClientAuthentication if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AzureADPartnerClientAuthentication.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AzureADPartnerClientAuthentication.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

AzureADPartnerClientAuthentication.validate()

withAzureActiveDirectoryApplicationIdOrUri

public AzureADPartnerClientAuthentication withAzureActiveDirectoryApplicationIdOrUri(String azureActiveDirectoryApplicationIdOrUri)

Set the azureActiveDirectoryApplicationIdOrUri property: The Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.

Parameters:

azureActiveDirectoryApplicationIdOrUri - the azureActiveDirectoryApplicationIdOrUri value to set.

Returns:

the AzureADPartnerClientAuthentication object itself.

withAzureActiveDirectoryTenantId

public AzureADPartnerClientAuthentication withAzureActiveDirectoryTenantId(String azureActiveDirectoryTenantId)

Set the azureActiveDirectoryTenantId property: The Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.

Parameters:

azureActiveDirectoryTenantId - the azureActiveDirectoryTenantId value to set.

Returns:

the AzureADPartnerClientAuthentication object itself.

Applies to