Class MicrosoftGraphApplicationInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphApplicationInner
-
public final class MicrosoftGraphApplicationInner extends MicrosoftGraphDirectoryObjectInner
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphApplicationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.String
applicationTemplateId()
Get the applicationTemplateId property: The applicationTemplateId property.List<MicrosoftGraphAppRole>
appRoles()
Get the appRoles property: The collection of roles the application declares.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.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.UUID
tokenEncryptionKeyId()
Get the tokenEncryptionKeyId property: Specifies the keyId of a public key from the keyCredentials collection.List<MicrosoftGraphTokenIssuancePolicyInner>
tokenIssuancePolicies()
Get the tokenIssuancePolicies property: The tokenIssuancePolicies property.List<MicrosoftGraphTokenLifetimePolicyInner>
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
withApplicationTemplateId(String applicationTemplateId)
Set the applicationTemplateId property: The applicationTemplateId property.MicrosoftGraphApplicationInner
withAppRoles(List<MicrosoftGraphAppRole> appRoles)
Set the appRoles property: The collection of roles the application declares.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<MicrosoftGraphTokenIssuancePolicyInner> tokenIssuancePolicies)
Set the tokenIssuancePolicies property: The tokenIssuancePolicies property.MicrosoftGraphApplicationInner
withTokenLifetimePolicies(List<MicrosoftGraphTokenLifetimePolicyInner> tokenLifetimePolicies)
Set the tokenLifetimePolicies property: The tokenLifetimePolicies property.MicrosoftGraphApplicationInner
withWeb(MicrosoftGraphWebApplication web)
Set the web property: webApplication.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
addIns
public List<MicrosoftGraphAddIn> 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.
-
withAddIns
public 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. 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.
-
api
public MicrosoftGraphApiApplication api()
Get the api property: apiApplication.- Returns:
- the api value.
-
withApi
public MicrosoftGraphApplicationInner withApi(MicrosoftGraphApiApplication api)
Set the api property: apiApplication.- Parameters:
api
- the api value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
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.
-
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.
-
applicationTemplateId
public String applicationTemplateId()
Get the applicationTemplateId property: The applicationTemplateId property.- Returns:
- the applicationTemplateId value.
-
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.
-
appRoles
public List<MicrosoftGraphAppRole> 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.
-
withAppRoles
public MicrosoftGraphApplicationInner withAppRoles(List<MicrosoftGraphAppRole> 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.
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: The date and time the application was registered. Read-only.- Returns:
- the createdDateTime value.
-
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.
-
description
public String description()
Get the description property: The description property.- Returns:
- the description value.
-
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.
-
displayName
public String displayName()
Get the displayName property: The display name for the application.- Returns:
- the displayName value.
-
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.
-
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.
-
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.
-
identifierUris
public 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. 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.
-
withIdentifierUris
public 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. 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.
-
info
public MicrosoftGraphInformationalUrl info()
Get the info property: informationalUrl.- Returns:
- the info value.
-
withInfo
public MicrosoftGraphApplicationInner withInfo(MicrosoftGraphInformationalUrl info)
Set the info property: informationalUrl.- Parameters:
info
- the info value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
isDeviceOnlyAuthSupported
public Boolean isDeviceOnlyAuthSupported()
Get the isDeviceOnlyAuthSupported property: The isDeviceOnlyAuthSupported property.- Returns:
- the isDeviceOnlyAuthSupported value.
-
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.
-
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.
-
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.
-
keyCredentials
public List<MicrosoftGraphKeyCredentialInner> keyCredentials()
Get the keyCredentials property: The collection of key credentials associated with the application Not nullable.- Returns:
- the keyCredentials value.
-
withKeyCredentials
public MicrosoftGraphApplicationInner withKeyCredentials(List<MicrosoftGraphKeyCredentialInner> 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.
-
logo
public byte[] logo()
Get the logo property: The main logo for the application. Not nullable.- Returns:
- the logo value.
-
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.
-
notes
public String notes()
Get the notes property: The notes property.- Returns:
- the notes value.
-
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.
-
oauth2RequirePostResponse
public Boolean oauth2RequirePostResponse()
Get the oauth2RequirePostResponse property: The oauth2RequirePostResponse property.- Returns:
- the oauth2RequirePostResponse value.
-
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.
-
optionalClaims
public MicrosoftGraphOptionalClaims optionalClaims()
Get the optionalClaims property: optionalClaims.- Returns:
- the optionalClaims value.
-
withOptionalClaims
public MicrosoftGraphApplicationInner withOptionalClaims(MicrosoftGraphOptionalClaims optionalClaims)
Set the optionalClaims property: optionalClaims.- Parameters:
optionalClaims
- the optionalClaims value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
parentalControlSettings
public MicrosoftGraphParentalControlSettings parentalControlSettings()
Get the parentalControlSettings property: parentalControlSettings.- Returns:
- the parentalControlSettings value.
-
withParentalControlSettings
public MicrosoftGraphApplicationInner withParentalControlSettings(MicrosoftGraphParentalControlSettings parentalControlSettings)
Set the parentalControlSettings property: parentalControlSettings.- Parameters:
parentalControlSettings
- the parentalControlSettings value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
passwordCredentials
public List<MicrosoftGraphPasswordCredentialInner> passwordCredentials()
Get the passwordCredentials property: The collection of password credentials associated with the application. Not nullable.- Returns:
- the passwordCredentials value.
-
withPasswordCredentials
public MicrosoftGraphApplicationInner withPasswordCredentials(List<MicrosoftGraphPasswordCredentialInner> 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.
-
publicClient
public MicrosoftGraphPublicClientApplication publicClient()
Get the publicClient property: publicClientApplication.- Returns:
- the publicClient value.
-
withPublicClient
public MicrosoftGraphApplicationInner withPublicClient(MicrosoftGraphPublicClientApplication publicClient)
Set the publicClient property: publicClientApplication.- Parameters:
publicClient
- the publicClient value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
publisherDomain
public String publisherDomain()
Get the publisherDomain property: The verified publisher domain for the application. Read-only.- Returns:
- the publisherDomain value.
-
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.
-
requiredResourceAccess
public 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. This pre-configuration of required resource access drives the consent experience. Not nullable.- Returns:
- the requiredResourceAccess value.
-
withRequiredResourceAccess
public 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. 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.
-
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’s Azure AD tenant (single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s 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.
-
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’s Azure AD tenant (single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s 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.
-
tags
public List<String> tags()
Get the tags property: Custom strings that can be used to categorize and identify the application. Not nullable.- Returns:
- the tags value.
-
withTags
public MicrosoftGraphApplicationInner withTags(List<String> 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.
-
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.
-
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.
-
web
public MicrosoftGraphWebApplication web()
Get the web property: webApplication.- Returns:
- the web value.
-
withWeb
public MicrosoftGraphApplicationInner withWeb(MicrosoftGraphWebApplication web)
Set the web property: webApplication.- Parameters:
web
- the web value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
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.
-
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.
-
extensionProperties
public List<MicrosoftGraphExtensionPropertyInner> extensionProperties()
Get the extensionProperties property: Read-only. Nullable.- Returns:
- the extensionProperties value.
-
withExtensionProperties
public MicrosoftGraphApplicationInner withExtensionProperties(List<MicrosoftGraphExtensionPropertyInner> extensionProperties)
Set the extensionProperties property: Read-only. Nullable.- Parameters:
extensionProperties
- the extensionProperties value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
homeRealmDiscoveryPolicies
public List<MicrosoftGraphHomeRealmDiscoveryPolicyInner> homeRealmDiscoveryPolicies()
Get the homeRealmDiscoveryPolicies property: The homeRealmDiscoveryPolicies property.- Returns:
- the homeRealmDiscoveryPolicies value.
-
withHomeRealmDiscoveryPolicies
public MicrosoftGraphApplicationInner withHomeRealmDiscoveryPolicies(List<MicrosoftGraphHomeRealmDiscoveryPolicyInner> homeRealmDiscoveryPolicies)
Set the homeRealmDiscoveryPolicies property: The homeRealmDiscoveryPolicies property.- Parameters:
homeRealmDiscoveryPolicies
- the homeRealmDiscoveryPolicies value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
owners
public List<MicrosoftGraphDirectoryObjectInner> 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.
-
withOwners
public MicrosoftGraphApplicationInner withOwners(List<MicrosoftGraphDirectoryObjectInner> 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.
-
tokenIssuancePolicies
public List<MicrosoftGraphTokenIssuancePolicyInner> tokenIssuancePolicies()
Get the tokenIssuancePolicies property: The tokenIssuancePolicies property.- Returns:
- the tokenIssuancePolicies value.
-
withTokenIssuancePolicies
public MicrosoftGraphApplicationInner withTokenIssuancePolicies(List<MicrosoftGraphTokenIssuancePolicyInner> tokenIssuancePolicies)
Set the tokenIssuancePolicies property: The tokenIssuancePolicies property.- Parameters:
tokenIssuancePolicies
- the tokenIssuancePolicies value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
tokenLifetimePolicies
public List<MicrosoftGraphTokenLifetimePolicyInner> tokenLifetimePolicies()
Get the tokenLifetimePolicies property: The tokenLifetimePolicies property.- Returns:
- the tokenLifetimePolicies value.
-
withTokenLifetimePolicies
public MicrosoftGraphApplicationInner withTokenLifetimePolicies(List<MicrosoftGraphTokenLifetimePolicyInner> tokenLifetimePolicies)
Set the tokenLifetimePolicies property: The tokenLifetimePolicies property.- Parameters:
tokenLifetimePolicies
- the tokenLifetimePolicies value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
additionalProperties
public Map<String,Object> 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:
additionalProperties
in classMicrosoftGraphDirectoryObjectInner
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphApplicationInner withAdditionalProperties(Map<String,Object> 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:
withAdditionalProperties
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphApplicationInner object itself.
-
withDeletedDateTime
public MicrosoftGraphApplicationInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTime
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
deletedDateTime
- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphApplicationInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphDirectoryObjectInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-