MicrosoftGraphApplicationInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryObjectInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphApplicationInner
- com.
- com.
- com.
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 Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Microsoft |
addIns()
Get the add |
Map<String,Object> |
additionalProperties()
Get the additional |
Microsoft |
api()
Get the api property: api |
String |
appId()
Get the app |
List<Microsoft |
appRoles()
Get the app |
String |
applicationTemplateId()
Get the application |
Offset |
createdDateTime()
Get the created |
Microsoft |
createdOnBehalfOf()
Get the created |
String |
description()
Get the description property: The description property. |
String |
displayName()
Get the display |
List<Microsoft |
extensionProperties()
Get the extension |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
groupMembershipClaims()
Get the group |
List<Microsoft |
homeRealmDiscoveryPolicies()
Get the home |
List<String> |
identifierUris()
Get the identifier |
Microsoft |
info()
Get the info property: informational |
Boolean |
isDeviceOnlyAuthSupported()
Get the is |
Boolean |
isFallbackPublicClient()
Get the is |
List<Microsoft |
keyCredentials()
Get the key |
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 oauth2Require |
Microsoft |
optionalClaims()
Get the optional |
List<Microsoft |
owners()
Get the owners property: Directory objects that are owners of the application. |
Microsoft |
parentalControlSettings()
Get the parental |
List<Microsoft |
passwordCredentials()
Get the password |
Microsoft |
publicClient()
Get the public |
String |
publisherDomain()
Get the publisher |
List<Microsoft |
requiredResourceAccess()
Get the required |
String |
signInAudience()
Get the sign |
List<String> |
tags()
Get the tags property: Custom strings that can be used to categorize and identify the application. |
Json |
toJson(JsonWriter jsonWriter) |
UUID |
tokenEncryptionKeyId()
Get the token |
List<Microsoft |
tokenIssuancePolicies()
Get the token |
List<Microsoft |
tokenLifetimePolicies()
Get the token |
void |
validate()
Validates the instance. |
Microsoft |
web()
Get the web property: web |
Microsoft |
withAddIns(List<MicrosoftGraphAddIn> addIns)
Set the add |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withApi(MicrosoftGraphApiApplication api)
Set the api property: api |
Microsoft |
withAppId(String appId)
Set the app |
Microsoft |
withAppRoles(List<MicrosoftGraphAppRole> appRoles)
Set the app |
Microsoft |
withApplicationTemplateId(String applicationTemplateId)
Set the application |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf)
Set the created |
Microsoft |
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deleted |
Microsoft |
withDescription(String description)
Set the description property: The description property. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withExtensionProperties(List<MicrosoftGraphExtensionPropertyInner> extensionProperties)
Set the extension |
Microsoft |
withGroupMembershipClaims(String groupMembershipClaims)
Set the group |
Microsoft |
withHomeRealmDiscoveryPolicies(List<MicrosoftGraphHomeRealmDiscoveryPolicyInner> homeRealmDiscoveryPolicies)
Set the home |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIdentifierUris(List<String> identifierUris)
Set the identifier |
Microsoft |
withInfo(MicrosoftGraphInformationalUrl info)
Set the info property: informational |
Microsoft |
withIsDeviceOnlyAuthSupported(Boolean isDeviceOnlyAuthSupported)
Set the is |
Microsoft |
withIsFallbackPublicClient(Boolean isFallbackPublicClient)
Set the is |
Microsoft |
withKeyCredentials(List<MicrosoftGraphKeyCredentialInner> keyCredentials)
Set the key |
Microsoft |
withLogo(byte[] logo)
Set the logo property: The main logo for the application. |
Microsoft |
withNotes(String notes)
Set the notes property: The notes property. |
Microsoft |
withOauth2RequirePostResponse(Boolean oauth2RequirePostResponse)
Set the oauth2Require |
Microsoft |
withOptionalClaims(MicrosoftGraphOptionalClaims optionalClaims)
Set the optional |
Microsoft |
withOwners(List<MicrosoftGraphDirectoryObjectInner> owners)
Set the owners property: Directory objects that are owners of the application. |
Microsoft |
withParentalControlSettings(MicrosoftGraphParentalControlSettings parentalControlSettings)
Set the parental |
Microsoft |
withPasswordCredentials(List<MicrosoftGraphPasswordCredentialInner> passwordCredentials)
Set the password |
Microsoft |
withPublicClient(MicrosoftGraphPublicClientApplication publicClient)
Set the public |
Microsoft |
withPublisherDomain(String publisherDomain)
Set the publisher |
Microsoft |
withRequiredResourceAccess(List<MicrosoftGraphRequiredResourceAccess> requiredResourceAccess)
Set the required |
Microsoft |
withSignInAudience(String signInAudience)
Set the sign |
Microsoft |
withTags(List<String> tags)
Set the tags property: Custom strings that can be used to categorize and identify the application. |
Microsoft |
withTokenEncryptionKeyId(UUID tokenEncryptionKeyId)
Set the token |
Microsoft |
withTokenIssuancePolicies(List<MicrosoftGraphTokenIssuancePolicy> tokenIssuancePolicies)
Set the token |
Microsoft |
withTokenLifetimePolicies(List<MicrosoftGraphTokenLifetimePolicy> tokenLifetimePolicies)
Set the token |
Microsoft |
withWeb(MicrosoftGraphWebApplication web)
Set the web property: web |
Methods inherited from MicrosoftGraphDirectoryObjectInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphApplicationInner
public MicrosoftGraphApplicationInner()
Creates an instance of MicrosoftGraphApplicationInner class.
Method Details
addIns
public List
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:
additionalProperties
public Map
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:
api
public MicrosoftGraphApiApplication api()
Get the api property: apiApplication.
Returns:
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:
appRoles
public List
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:
applicationTemplateId
public String applicationTemplateId()
Get the applicationTemplateId property: The applicationTemplateId property.
Returns:
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: The date and time the application was registered. Read-only.
Returns:
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:
description
public String description()
Get the description property: The description property.
Returns:
displayName
public String displayName()
Get the displayName property: The display name for the application.
Returns:
extensionProperties
public List
Get the extensionProperties property: Read-only. Nullable.
Returns:
fromJson
public static MicrosoftGraphApplicationInner fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphApplicationInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
homeRealmDiscoveryPolicies
public List
Get the homeRealmDiscoveryPolicies property: The homeRealmDiscoveryPolicies property.
Returns:
identifierUris
public List
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:
info
public MicrosoftGraphInformationalUrl info()
Get the info property: informationalUrl.
Returns:
isDeviceOnlyAuthSupported
public Boolean isDeviceOnlyAuthSupported()
Get the isDeviceOnlyAuthSupported property: The isDeviceOnlyAuthSupported property.
Returns:
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:
keyCredentials
public List
Get the keyCredentials property: The collection of key credentials associated with the application Not nullable.
Returns:
logo
public byte[] logo()
Get the logo property: The main logo for the application. Not nullable.
Returns:
notes
public String notes()
Get the notes property: The notes property.
Returns:
oauth2RequirePostResponse
public Boolean oauth2RequirePostResponse()
Get the oauth2RequirePostResponse property: The oauth2RequirePostResponse property.
Returns:
optionalClaims
public MicrosoftGraphOptionalClaims optionalClaims()
Get the optionalClaims property: optionalClaims.
Returns:
owners
public List
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:
parentalControlSettings
public MicrosoftGraphParentalControlSettings parentalControlSettings()
Get the parentalControlSettings property: parentalControlSettings.
Returns:
passwordCredentials
public List
Get the passwordCredentials property: The collection of password credentials associated with the application. Not nullable.
Returns:
publicClient
public MicrosoftGraphPublicClientApplication publicClient()
Get the publicClient property: publicClientApplication.
Returns:
publisherDomain
public String publisherDomain()
Get the publisherDomain property: The verified publisher domain for the application. Read-only.
Returns:
requiredResourceAccess
public List
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:
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:
tags
public List
Get the tags property: Custom strings that can be used to categorize and identify the application. Not nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphApplicationInner.toJson(JsonWriter jsonWriter)Parameters:
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:
tokenIssuancePolicies
public List
Get the tokenIssuancePolicies property: The tokenIssuancePolicies property.
Returns:
tokenLifetimePolicies
public List
Get the tokenLifetimePolicies property: The tokenLifetimePolicies property.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphApplicationInner.validate()web
public MicrosoftGraphWebApplication web()
Get the web property: webApplication.
Returns:
withAddIns
public MicrosoftGraphApplicationInner withAddIns(List
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:
Returns:
withAdditionalProperties
public MicrosoftGraphApplicationInner withAdditionalProperties(Map
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:
Returns:
withApi
public MicrosoftGraphApplicationInner withApi(MicrosoftGraphApiApplication api)
Set the api property: apiApplication.
Parameters:
Returns:
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:
Returns:
withAppRoles
public MicrosoftGraphApplicationInner withAppRoles(List
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:
Returns:
withApplicationTemplateId
public MicrosoftGraphApplicationInner withApplicationTemplateId(String applicationTemplateId)
Set the applicationTemplateId property: The applicationTemplateId property.
Parameters:
Returns:
withCreatedDateTime
public MicrosoftGraphApplicationInner withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The date and time the application was registered. Read-only.
Parameters:
Returns:
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:
Returns:
withDeletedDateTime
public MicrosoftGraphApplicationInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.
Overrides:
MicrosoftGraphApplicationInner.withDeletedDateTime(OffsetDateTime deletedDateTime)Parameters:
withDescription
public MicrosoftGraphApplicationInner withDescription(String description)
Set the description property: The description property.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphApplicationInner withDisplayName(String displayName)
Set the displayName property: The display name for the application.
Parameters:
Returns:
withExtensionProperties
public MicrosoftGraphApplicationInner withExtensionProperties(List
Set the extensionProperties property: Read-only. Nullable.
Parameters:
Returns:
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:
Returns:
withHomeRealmDiscoveryPolicies
public MicrosoftGraphApplicationInner withHomeRealmDiscoveryPolicies(List
Set the homeRealmDiscoveryPolicies property: The homeRealmDiscoveryPolicies property.
Parameters:
Returns:
withId
public MicrosoftGraphApplicationInner withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphApplicationInner.withId(String id)Parameters:
withIdentifierUris
public MicrosoftGraphApplicationInner withIdentifierUris(List
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:
Returns:
withInfo
public MicrosoftGraphApplicationInner withInfo(MicrosoftGraphInformationalUrl info)
Set the info property: informationalUrl.
Parameters:
Returns:
withIsDeviceOnlyAuthSupported
public MicrosoftGraphApplicationInner withIsDeviceOnlyAuthSupported(Boolean isDeviceOnlyAuthSupported)
Set the isDeviceOnlyAuthSupported property: The isDeviceOnlyAuthSupported property.
Parameters:
Returns:
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:
Returns:
withKeyCredentials
public MicrosoftGraphApplicationInner withKeyCredentials(List
Set the keyCredentials property: The collection of key credentials associated with the application Not nullable.
Parameters:
Returns:
withLogo
public MicrosoftGraphApplicationInner withLogo(byte[] logo)
Set the logo property: The main logo for the application. Not nullable.
Parameters:
Returns:
withNotes
public MicrosoftGraphApplicationInner withNotes(String notes)
Set the notes property: The notes property.
Parameters:
Returns:
withOauth2RequirePostResponse
public MicrosoftGraphApplicationInner withOauth2RequirePostResponse(Boolean oauth2RequirePostResponse)
Set the oauth2RequirePostResponse property: The oauth2RequirePostResponse property.
Parameters:
Returns:
withOptionalClaims
public MicrosoftGraphApplicationInner withOptionalClaims(MicrosoftGraphOptionalClaims optionalClaims)
Set the optionalClaims property: optionalClaims.
Parameters:
Returns:
withOwners
public MicrosoftGraphApplicationInner withOwners(List
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:
Returns:
withParentalControlSettings
public MicrosoftGraphApplicationInner withParentalControlSettings(MicrosoftGraphParentalControlSettings parentalControlSettings)
Set the parentalControlSettings property: parentalControlSettings.
Parameters:
Returns:
withPasswordCredentials
public MicrosoftGraphApplicationInner withPasswordCredentials(List
Set the passwordCredentials property: The collection of password credentials associated with the application. Not nullable.
Parameters:
Returns:
withPublicClient
public MicrosoftGraphApplicationInner withPublicClient(MicrosoftGraphPublicClientApplication publicClient)
Set the publicClient property: publicClientApplication.
Parameters:
Returns:
withPublisherDomain
public MicrosoftGraphApplicationInner withPublisherDomain(String publisherDomain)
Set the publisherDomain property: The verified publisher domain for the application. Read-only.
Parameters:
Returns:
withRequiredResourceAccess
public MicrosoftGraphApplicationInner withRequiredResourceAccess(List
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:
Returns:
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:
Returns:
withTags
public MicrosoftGraphApplicationInner withTags(List
Set the tags property: Custom strings that can be used to categorize and identify the application. Not nullable.
Parameters:
Returns:
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:
Returns:
withTokenIssuancePolicies
public MicrosoftGraphApplicationInner withTokenIssuancePolicies(List
Set the tokenIssuancePolicies property: The tokenIssuancePolicies property.
Parameters:
Returns:
withTokenLifetimePolicies
public MicrosoftGraphApplicationInner withTokenLifetimePolicies(List
Set the tokenLifetimePolicies property: The tokenLifetimePolicies property.
Parameters:
Returns:
withWeb
public MicrosoftGraphApplicationInner withWeb(MicrosoftGraphWebApplication web)
Set the web property: webApplication.
Parameters:
Returns:
Applies to
Azure SDK for Java