MicrosoftGraphApplicationInner Class

public final class MicrosoftGraphApplicationInner
extends MicrosoftGraphDirectoryObjectInner

application Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Constructor Summary

Constructor Description
MicrosoftGraphApplicationInner()

Creates an instance of MicrosoftGraphApplicationInner class.

Method Summary

Modifier and Type Method and Description
List<MicrosoftGraphAddIn> addIns()

Get the addIns property: Defines custom behavior that a consuming service can use to call an app in specific contexts.

Map<String,Object> additionalProperties()

Get the additionalProperties property: Represents an Azure Active Directory object.

MicrosoftGraphApiApplication api()

Get the api property: apiApplication.

String appId()

Get the appId property: The unique identifier for the application that is assigned to an application by Azure AD.

List<MicrosoftGraphAppRole> appRoles()

Get the appRoles property: The collection of roles the application declares.

String applicationTemplateId()

Get the applicationTemplateId property: The applicationTemplateId property.

OffsetDateTime createdDateTime()

Get the createdDateTime property: The date and time the application was registered.

MicrosoftGraphDirectoryObjectInner createdOnBehalfOf()

Get the createdOnBehalfOf property: Represents an Azure Active Directory object.

String description()

Get the description property: The description property.

String displayName()

Get the displayName property: The display name for the application.

List<MicrosoftGraphExtensionPropertyInner> extensionProperties()

Get the extensionProperties property: Read-only.

static MicrosoftGraphApplicationInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphApplicationInner from the JsonReader.

String groupMembershipClaims()

Get the groupMembershipClaims property: Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects.

List<MicrosoftGraphHomeRealmDiscoveryPolicyInner> homeRealmDiscoveryPolicies()

Get the homeRealmDiscoveryPolicies property: The homeRealmDiscoveryPolicies property.

List<String> identifierUris()

Get the identifierUris property: The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant.

MicrosoftGraphInformationalUrl info()

Get the info property: informationalUrl.

Boolean isDeviceOnlyAuthSupported()

Get the isDeviceOnlyAuthSupported property: The isDeviceOnlyAuthSupported property.

Boolean isFallbackPublicClient()

Get the isFallbackPublicClient property: Specifies the fallback application type as public client, such as an installed application running on a mobile device.

List<MicrosoftGraphKeyCredentialInner> keyCredentials()

Get the keyCredentials property: The collection of key credentials associated with the application Not nullable.

byte[] logo()

Get the logo property: The main logo for the application.

String notes()

Get the notes property: The notes property.

Boolean oauth2RequirePostResponse()

Get the oauth2RequirePostResponse property: The oauth2RequirePostResponse property.

MicrosoftGraphOptionalClaims optionalClaims()

Get the optionalClaims property: optionalClaims.

List<MicrosoftGraphDirectoryObjectInner> owners()

Get the owners property: Directory objects that are owners of the application.

MicrosoftGraphParentalControlSettings parentalControlSettings()

Get the parentalControlSettings property: parentalControlSettings.

List<MicrosoftGraphPasswordCredentialInner> passwordCredentials()

Get the passwordCredentials property: The collection of password credentials associated with the application.

MicrosoftGraphPublicClientApplication publicClient()

Get the publicClient property: publicClientApplication.

String publisherDomain()

Get the publisherDomain property: The verified publisher domain for the application.

List<MicrosoftGraphRequiredResourceAccess> requiredResourceAccess()

Get the requiredResourceAccess property: Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources.

String signInAudience()

Get the signInAudience property: Specifies the Microsoft accounts that are supported for the current application.

List<String> tags()

Get the tags property: Custom strings that can be used to categorize and identify the application.

JsonWriter toJson(JsonWriter jsonWriter)
UUID tokenEncryptionKeyId()

Get the tokenEncryptionKeyId property: Specifies the keyId of a public key from the keyCredentials collection.

List<MicrosoftGraphTokenIssuancePolicy> tokenIssuancePolicies()

Get the tokenIssuancePolicies property: The tokenIssuancePolicies property.

List<MicrosoftGraphTokenLifetimePolicy> tokenLifetimePolicies()

Get the tokenLifetimePolicies property: The tokenLifetimePolicies property.

void validate()

Validates the instance.

MicrosoftGraphWebApplication web()

Get the web property: webApplication.

MicrosoftGraphApplicationInner withAddIns(List<MicrosoftGraphAddIn> addIns)

Set the addIns property: Defines custom behavior that a consuming service can use to call an app in specific contexts.

MicrosoftGraphApplicationInner withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object.

MicrosoftGraphApplicationInner withApi(MicrosoftGraphApiApplication api)

Set the api property: apiApplication.

MicrosoftGraphApplicationInner withAppId(String appId)

Set the appId property: The unique identifier for the application that is assigned to an application by Azure AD.

MicrosoftGraphApplicationInner withAppRoles(List<MicrosoftGraphAppRole> appRoles)

Set the appRoles property: The collection of roles the application declares.

MicrosoftGraphApplicationInner withApplicationTemplateId(String applicationTemplateId)

Set the applicationTemplateId property: The applicationTemplateId property.

MicrosoftGraphApplicationInner withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The date and time the application was registered.

MicrosoftGraphApplicationInner withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf)

Set the createdOnBehalfOf property: Represents an Azure Active Directory object.

MicrosoftGraphApplicationInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

MicrosoftGraphApplicationInner withDescription(String description)

Set the description property: The description property.

MicrosoftGraphApplicationInner withDisplayName(String displayName)

Set the displayName property: The display name for the application.

MicrosoftGraphApplicationInner withExtensionProperties(List<MicrosoftGraphExtensionPropertyInner> extensionProperties)

Set the extensionProperties property: Read-only.

MicrosoftGraphApplicationInner withGroupMembershipClaims(String groupMembershipClaims)

Set the groupMembershipClaims property: Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects.

MicrosoftGraphApplicationInner withHomeRealmDiscoveryPolicies(List<MicrosoftGraphHomeRealmDiscoveryPolicyInner> homeRealmDiscoveryPolicies)

Set the homeRealmDiscoveryPolicies property: The homeRealmDiscoveryPolicies property.

MicrosoftGraphApplicationInner withId(String id)

Set the id property: Read-only.

MicrosoftGraphApplicationInner withIdentifierUris(List<String> identifierUris)

Set the identifierUris property: The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant.

MicrosoftGraphApplicationInner withInfo(MicrosoftGraphInformationalUrl info)

Set the info property: informationalUrl.

MicrosoftGraphApplicationInner withIsDeviceOnlyAuthSupported(Boolean isDeviceOnlyAuthSupported)

Set the isDeviceOnlyAuthSupported property: The isDeviceOnlyAuthSupported property.

MicrosoftGraphApplicationInner withIsFallbackPublicClient(Boolean isFallbackPublicClient)

Set the isFallbackPublicClient property: Specifies the fallback application type as public client, such as an installed application running on a mobile device.

MicrosoftGraphApplicationInner withKeyCredentials(List<MicrosoftGraphKeyCredentialInner> keyCredentials)

Set the keyCredentials property: The collection of key credentials associated with the application Not nullable.

MicrosoftGraphApplicationInner withLogo(byte[] logo)

Set the logo property: The main logo for the application.

MicrosoftGraphApplicationInner withNotes(String notes)

Set the notes property: The notes property.

MicrosoftGraphApplicationInner withOauth2RequirePostResponse(Boolean oauth2RequirePostResponse)

Set the oauth2RequirePostResponse property: The oauth2RequirePostResponse property.

MicrosoftGraphApplicationInner withOptionalClaims(MicrosoftGraphOptionalClaims optionalClaims)

Set the optionalClaims property: optionalClaims.

MicrosoftGraphApplicationInner withOwners(List<MicrosoftGraphDirectoryObjectInner> owners)

Set the owners property: Directory objects that are owners of the application.

MicrosoftGraphApplicationInner withParentalControlSettings(MicrosoftGraphParentalControlSettings parentalControlSettings)

Set the parentalControlSettings property: parentalControlSettings.

MicrosoftGraphApplicationInner withPasswordCredentials(List<MicrosoftGraphPasswordCredentialInner> passwordCredentials)

Set the passwordCredentials property: The collection of password credentials associated with the application.

MicrosoftGraphApplicationInner withPublicClient(MicrosoftGraphPublicClientApplication publicClient)

Set the publicClient property: publicClientApplication.

MicrosoftGraphApplicationInner withPublisherDomain(String publisherDomain)

Set the publisherDomain property: The verified publisher domain for the application.

MicrosoftGraphApplicationInner withRequiredResourceAccess(List<MicrosoftGraphRequiredResourceAccess> requiredResourceAccess)

Set the requiredResourceAccess property: Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources.

MicrosoftGraphApplicationInner withSignInAudience(String signInAudience)

Set the signInAudience property: Specifies the Microsoft accounts that are supported for the current application.

MicrosoftGraphApplicationInner withTags(List<String> tags)

Set the tags property: Custom strings that can be used to categorize and identify the application.

MicrosoftGraphApplicationInner withTokenEncryptionKeyId(UUID tokenEncryptionKeyId)

Set the tokenEncryptionKeyId property: Specifies the keyId of a public key from the keyCredentials collection.

MicrosoftGraphApplicationInner withTokenIssuancePolicies(List<MicrosoftGraphTokenIssuancePolicy> tokenIssuancePolicies)

Set the tokenIssuancePolicies property: The tokenIssuancePolicies property.

MicrosoftGraphApplicationInner withTokenLifetimePolicies(List<MicrosoftGraphTokenLifetimePolicy> tokenLifetimePolicies)

Set the tokenLifetimePolicies property: The tokenLifetimePolicies property.

MicrosoftGraphApplicationInner withWeb(MicrosoftGraphWebApplication web)

Set the web property: webApplication.

Methods inherited from MicrosoftGraphDirectoryObjectInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphApplicationInner

public MicrosoftGraphApplicationInner()

Creates an instance of MicrosoftGraphApplicationInner class.

Method Details

addIns

public List addIns()

Get the addIns property: Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on.

Returns:

the addIns value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Overrides:

MicrosoftGraphApplicationInner.additionalProperties()

Returns:

the additionalProperties value.

api

public MicrosoftGraphApiApplication api()

Get the api property: apiApplication.

Returns:

the api value.

appId

public String appId()

Get the appId property: The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only.

Returns:

the appId value.

appRoles

public List appRoles()

Get the appRoles property: The collection of roles the application declares. With app role assignments, these roles can be assigned to users, groups, or other applications' service principals. Not nullable.

Returns:

the appRoles value.

applicationTemplateId

public String applicationTemplateId()

Get the applicationTemplateId property: The applicationTemplateId property.

Returns:

the applicationTemplateId value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: The date and time the application was registered. Read-only.

Returns:

the createdDateTime value.

createdOnBehalfOf

public MicrosoftGraphDirectoryObjectInner createdOnBehalfOf()

Get the createdOnBehalfOf property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Returns:

the createdOnBehalfOf value.

description

public String description()

Get the description property: The description property.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The display name for the application.

Returns:

the displayName value.

extensionProperties

public List extensionProperties()

Get the extensionProperties property: Read-only. Nullable.

Returns:

the extensionProperties value.

fromJson

public static MicrosoftGraphApplicationInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphApplicationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphApplicationInner 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 MicrosoftGraphApplicationInner.

groupMembershipClaims

public String groupMembershipClaims()

Get the groupMembershipClaims property: Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values:NoneSecurityGroup: For security groups and Azure AD rolesAll: This will get all of the security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of.

Returns:

the groupMembershipClaims value.

homeRealmDiscoveryPolicies

public List homeRealmDiscoveryPolicies()

Get the homeRealmDiscoveryPolicies property: The homeRealmDiscoveryPolicies property.

Returns:

the homeRealmDiscoveryPolicies value.

identifierUris

public List identifierUris()

Get the identifierUris property: The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable.

Returns:

the identifierUris value.

info

public MicrosoftGraphInformationalUrl info()

Get the info property: informationalUrl.

Returns:

the info value.

isDeviceOnlyAuthSupported

public Boolean isDeviceOnlyAuthSupported()

Get the isDeviceOnlyAuthSupported property: The isDeviceOnlyAuthSupported property.

Returns:

the isDeviceOnlyAuthSupported value.

isFallbackPublicClient

public Boolean isFallbackPublicClient()

Get the isFallbackPublicClient property: Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as web app. There are certain scenarios where Azure AD cannot determine the client application type (e.g. ROPC flow where it is configured without specifying a redirect URI). In those cases Azure AD will interpret the application type based on the value of this property.

Returns:

the isFallbackPublicClient value.

keyCredentials

public List keyCredentials()

Get the keyCredentials property: The collection of key credentials associated with the application Not nullable.

Returns:

the keyCredentials value.

logo

public byte[] logo()

Get the logo property: The main logo for the application. Not nullable.

Returns:

the logo value.

notes

public String notes()

Get the notes property: The notes property.

Returns:

the notes value.

oauth2RequirePostResponse

public Boolean oauth2RequirePostResponse()

Get the oauth2RequirePostResponse property: The oauth2RequirePostResponse property.

Returns:

the oauth2RequirePostResponse value.

optionalClaims

public MicrosoftGraphOptionalClaims optionalClaims()

Get the optionalClaims property: optionalClaims.

Returns:

the optionalClaims value.

owners

public List owners()

Get the owners property: Directory objects that are owners of the application. The owners are a set of non-admin users who are allowed to modify this object. Requires version 2013-11-08 or newer. Read-only. Nullable.

Returns:

the owners value.

parentalControlSettings

public MicrosoftGraphParentalControlSettings parentalControlSettings()

Get the parentalControlSettings property: parentalControlSettings.

Returns:

the parentalControlSettings value.

passwordCredentials

public List passwordCredentials()

Get the passwordCredentials property: The collection of password credentials associated with the application. Not nullable.

Returns:

the passwordCredentials value.

publicClient

public MicrosoftGraphPublicClientApplication publicClient()

Get the publicClient property: publicClientApplication.

Returns:

the publicClient value.

publisherDomain

public String publisherDomain()

Get the publisherDomain property: The verified publisher domain for the application. Read-only.

Returns:

the publisherDomain value.

requiredResourceAccess

public List requiredResourceAccess()

Get the requiredResourceAccess property: Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience. Not nullable.

Returns:

the requiredResourceAccess value.

signInAudience

public String signInAudience()

Get the signInAudience property: Specifies the Microsoft accounts that are supported for the current application. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization\u2019s Azure AD tenant (single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization\u2019s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization\u2019s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only.For authenticating users with Azure AD B2C user flows, use AzureADandPersonalMicrosoftAccount. This value allows for the widest set of user identities including local accounts and user identities from Microsoft, Facebook, Google, Twitter, or any OpenID Connect provider.

Returns:

the signInAudience value.

tags

public List tags()

Get the tags property: Custom strings that can be used to categorize and identify the application. Not nullable.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphApplicationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

tokenEncryptionKeyId

public UUID tokenEncryptionKeyId()

Get the tokenEncryptionKeyId property: Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.

Returns:

the tokenEncryptionKeyId value.

tokenIssuancePolicies

public List tokenIssuancePolicies()

Get the tokenIssuancePolicies property: The tokenIssuancePolicies property.

Returns:

the tokenIssuancePolicies value.

tokenLifetimePolicies

public List tokenLifetimePolicies()

Get the tokenLifetimePolicies property: The tokenLifetimePolicies property.

Returns:

the tokenLifetimePolicies value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphApplicationInner.validate()

web

public MicrosoftGraphWebApplication web()

Get the web property: webApplication.

Returns:

the web value.

withAddIns

public MicrosoftGraphApplicationInner withAddIns(List addIns)

Set the addIns property: Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams may set the addIns property for its 'FileHandler' functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on.

Parameters:

addIns - the addIns value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withAdditionalProperties

public MicrosoftGraphApplicationInner withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Overrides:

MicrosoftGraphApplicationInner.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withApi

public MicrosoftGraphApplicationInner withApi(MicrosoftGraphApiApplication api)

Set the api property: apiApplication.

Parameters:

api - the api value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withAppId

public MicrosoftGraphApplicationInner withAppId(String appId)

Set the appId property: The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only.

Parameters:

appId - the appId value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withAppRoles

public MicrosoftGraphApplicationInner withAppRoles(List appRoles)

Set the appRoles property: The collection of roles the application declares. With app role assignments, these roles can be assigned to users, groups, or other applications' service principals. Not nullable.

Parameters:

appRoles - the appRoles value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withApplicationTemplateId

public MicrosoftGraphApplicationInner withApplicationTemplateId(String applicationTemplateId)

Set the applicationTemplateId property: The applicationTemplateId property.

Parameters:

applicationTemplateId - the applicationTemplateId value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withCreatedDateTime

public MicrosoftGraphApplicationInner withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The date and time the application was registered. Read-only.

Parameters:

createdDateTime - the createdDateTime value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withCreatedOnBehalfOf

public MicrosoftGraphApplicationInner withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf)

Set the createdOnBehalfOf property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Parameters:

createdOnBehalfOf - the createdOnBehalfOf value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withDeletedDateTime

public MicrosoftGraphApplicationInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

Overrides:

MicrosoftGraphApplicationInner.withDeletedDateTime(OffsetDateTime deletedDateTime)

Parameters:

deletedDateTime

withDescription

public MicrosoftGraphApplicationInner withDescription(String description)

Set the description property: The description property.

Parameters:

description - the description value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withDisplayName

public MicrosoftGraphApplicationInner withDisplayName(String displayName)

Set the displayName property: The display name for the application.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withExtensionProperties

public MicrosoftGraphApplicationInner withExtensionProperties(List extensionProperties)

Set the extensionProperties property: Read-only. Nullable.

Parameters:

extensionProperties - the extensionProperties value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withGroupMembershipClaims

public MicrosoftGraphApplicationInner withGroupMembershipClaims(String groupMembershipClaims)

Set the groupMembershipClaims property: Configures the groups claim issued in a user or OAuth 2.0 access token that the application expects. To set this attribute, use one of the following valid string values:NoneSecurityGroup: For security groups and Azure AD rolesAll: This will get all of the security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of.

Parameters:

groupMembershipClaims - the groupMembershipClaims value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withHomeRealmDiscoveryPolicies

public MicrosoftGraphApplicationInner withHomeRealmDiscoveryPolicies(List homeRealmDiscoveryPolicies)

Set the homeRealmDiscoveryPolicies property: The homeRealmDiscoveryPolicies property.

Parameters:

homeRealmDiscoveryPolicies - the homeRealmDiscoveryPolicies value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withId

public MicrosoftGraphApplicationInner withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphApplicationInner.withId(String id)

Parameters:

id

withIdentifierUris

public MicrosoftGraphApplicationInner withIdentifierUris(List identifierUris)

Set the identifierUris property: The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable.

Parameters:

identifierUris - the identifierUris value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withInfo

public MicrosoftGraphApplicationInner withInfo(MicrosoftGraphInformationalUrl info)

Set the info property: informationalUrl.

Parameters:

info - the info value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withIsDeviceOnlyAuthSupported

public MicrosoftGraphApplicationInner withIsDeviceOnlyAuthSupported(Boolean isDeviceOnlyAuthSupported)

Set the isDeviceOnlyAuthSupported property: The isDeviceOnlyAuthSupported property.

Parameters:

isDeviceOnlyAuthSupported - the isDeviceOnlyAuthSupported value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withIsFallbackPublicClient

public MicrosoftGraphApplicationInner withIsFallbackPublicClient(Boolean isFallbackPublicClient)

Set the isFallbackPublicClient property: Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false which means the fallback application type is confidential client such as web app. There are certain scenarios where Azure AD cannot determine the client application type (e.g. ROPC flow where it is configured without specifying a redirect URI). In those cases Azure AD will interpret the application type based on the value of this property.

Parameters:

isFallbackPublicClient - the isFallbackPublicClient value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withKeyCredentials

public MicrosoftGraphApplicationInner withKeyCredentials(List keyCredentials)

Set the keyCredentials property: The collection of key credentials associated with the application Not nullable.

Parameters:

keyCredentials - the keyCredentials value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withLogo

public MicrosoftGraphApplicationInner withLogo(byte[] logo)

Set the logo property: The main logo for the application. Not nullable.

Parameters:

logo - the logo value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withNotes

public MicrosoftGraphApplicationInner withNotes(String notes)

Set the notes property: The notes property.

Parameters:

notes - the notes value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withOauth2RequirePostResponse

public MicrosoftGraphApplicationInner withOauth2RequirePostResponse(Boolean oauth2RequirePostResponse)

Set the oauth2RequirePostResponse property: The oauth2RequirePostResponse property.

Parameters:

oauth2RequirePostResponse - the oauth2RequirePostResponse value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withOptionalClaims

public MicrosoftGraphApplicationInner withOptionalClaims(MicrosoftGraphOptionalClaims optionalClaims)

Set the optionalClaims property: optionalClaims.

Parameters:

optionalClaims - the optionalClaims value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withOwners

public MicrosoftGraphApplicationInner withOwners(List owners)

Set the owners property: Directory objects that are owners of the application. The owners are a set of non-admin users who are allowed to modify this object. Requires version 2013-11-08 or newer. Read-only. Nullable.

Parameters:

owners - the owners value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withParentalControlSettings

public MicrosoftGraphApplicationInner withParentalControlSettings(MicrosoftGraphParentalControlSettings parentalControlSettings)

Set the parentalControlSettings property: parentalControlSettings.

Parameters:

parentalControlSettings - the parentalControlSettings value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withPasswordCredentials

public MicrosoftGraphApplicationInner withPasswordCredentials(List passwordCredentials)

Set the passwordCredentials property: The collection of password credentials associated with the application. Not nullable.

Parameters:

passwordCredentials - the passwordCredentials value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withPublicClient

public MicrosoftGraphApplicationInner withPublicClient(MicrosoftGraphPublicClientApplication publicClient)

Set the publicClient property: publicClientApplication.

Parameters:

publicClient - the publicClient value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withPublisherDomain

public MicrosoftGraphApplicationInner withPublisherDomain(String publisherDomain)

Set the publisherDomain property: The verified publisher domain for the application. Read-only.

Parameters:

publisherDomain - the publisherDomain value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withRequiredResourceAccess

public MicrosoftGraphApplicationInner withRequiredResourceAccess(List requiredResourceAccess)

Set the requiredResourceAccess property: Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience. Not nullable.

Parameters:

requiredResourceAccess - the requiredResourceAccess value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withSignInAudience

public MicrosoftGraphApplicationInner withSignInAudience(String signInAudience)

Set the signInAudience property: Specifies the Microsoft accounts that are supported for the current application. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization\u2019s Azure AD tenant (single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization\u2019s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization\u2019s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only.For authenticating users with Azure AD B2C user flows, use AzureADandPersonalMicrosoftAccount. This value allows for the widest set of user identities including local accounts and user identities from Microsoft, Facebook, Google, Twitter, or any OpenID Connect provider.

Parameters:

signInAudience - the signInAudience value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withTags

public MicrosoftGraphApplicationInner withTags(List tags)

Set the tags property: Custom strings that can be used to categorize and identify the application. Not nullable.

Parameters:

tags - the tags value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withTokenEncryptionKeyId

public MicrosoftGraphApplicationInner withTokenEncryptionKeyId(UUID tokenEncryptionKeyId)

Set the tokenEncryptionKeyId property: Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user.

Parameters:

tokenEncryptionKeyId - the tokenEncryptionKeyId value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withTokenIssuancePolicies

public MicrosoftGraphApplicationInner withTokenIssuancePolicies(List tokenIssuancePolicies)

Set the tokenIssuancePolicies property: The tokenIssuancePolicies property.

Parameters:

tokenIssuancePolicies - the tokenIssuancePolicies value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withTokenLifetimePolicies

public MicrosoftGraphApplicationInner withTokenLifetimePolicies(List tokenLifetimePolicies)

Set the tokenLifetimePolicies property: The tokenLifetimePolicies property.

Parameters:

tokenLifetimePolicies - the tokenLifetimePolicies value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

withWeb

public MicrosoftGraphApplicationInner withWeb(MicrosoftGraphWebApplication web)

Set the web property: webApplication.

Parameters:

web - the web value to set.

Returns:

the MicrosoftGraphApplicationInner object itself.

Applies to