Class Application

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Application extends DirectoryObject implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Application.
  • Field Details

    • addIns

      @SerializedName(value="addIns", alternate="AddIns") @Expose @Nullable public List<AddIn> addIns
      The Add Ins. 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 Office 365 call the application in the context of a document the user is working on.
    • api

      @SerializedName(value="api", alternate="Api") @Expose @Nullable public ApiApplication api
      The Api. Specifies settings for an application that implements a web API.
    • appId

      @SerializedName(value="appId", alternate="AppId") @Expose @Nullable public String appId
      The App Id. The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only. Supports $filter (eq).
    • applicationTemplateId

      @SerializedName(value="applicationTemplateId", alternate="ApplicationTemplateId") @Expose @Nullable public String applicationTemplateId
      The Application Template Id. Unique identifier of the applicationTemplate. Supports $filter (eq, not, ne).
    • appRoles

      @SerializedName(value="appRoles", alternate="AppRoles") @Expose @Nullable public List<AppRole> appRoles
      The App Roles. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
    • certification

      @SerializedName(value="certification", alternate="Certification") @Expose @Nullable public Certification certification
      The Certification. Specifies the certification status of the application.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.
    • defaultRedirectUri

      @SerializedName(value="defaultRedirectUri", alternate="DefaultRedirectUri") @Expose @Nullable public String defaultRedirectUri
      The Default Redirect Uri.
    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. Free text field to provide a description of the application object to end users. The maximum allowed size is 1024 characters. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.
    • disabledByMicrosoftStatus

      @SerializedName(value="disabledByMicrosoftStatus", alternate="DisabledByMicrosoftStatus") @Expose @Nullable public String disabledByMicrosoftStatus
      The Disabled By Microsoft Status. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
    • groupMembershipClaims

      @SerializedName(value="groupMembershipClaims", alternate="GroupMembershipClaims") @Expose @Nullable public String groupMembershipClaims
      The Group Membership Claims. 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: None, SecurityGroup (for security groups and Azure AD roles), All (this gets all of the security groups, distribution groups, and Azure AD directory roles that the signed-in user is a member of).
    • identifierUris

      @SerializedName(value="identifierUris", alternate="IdentifierUris") @Expose @Nullable public List<String> identifierUris
      The Identifier Uris. Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you'll reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://&lt;application-client-id&gt;, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Azure AD application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith).
    • info

      @SerializedName(value="info", alternate="Info") @Expose @Nullable public InformationalUrl info
      The Info. Basic profile information of the application such as app's marketing, support, terms of service and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more info, see How to: Add Terms of service and privacy statement for registered Azure AD apps. Supports $filter (eq, ne, not, ge, le, and eq on null values).
    • isDeviceOnlyAuthSupported

      @SerializedName(value="isDeviceOnlyAuthSupported", alternate="IsDeviceOnlyAuthSupported") @Expose @Nullable public Boolean isDeviceOnlyAuthSupported
      The Is Device Only Auth Supported. Specifies whether this application supports device authentication without a user. The default is false.
    • isFallbackPublicClient

      @SerializedName(value="isFallbackPublicClient", alternate="IsFallbackPublicClient") @Expose @Nullable public Boolean isFallbackPublicClient
      The Is Fallback Public Client. 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 a web app. There are certain scenarios where Azure AD cannot determine the client application type. For example, the ROPC flow where it is configured without specifying a redirect URI. In those cases Azure AD interprets the application type based on the value of this property.
    • keyCredentials

      @SerializedName(value="keyCredentials", alternate="KeyCredentials") @Expose @Nullable public List<KeyCredential> keyCredentials
      The Key Credentials. The collection of key credentials associated with the application. Not nullable. Supports $filter (eq, not, ge, le).
    • notes

      @SerializedName(value="notes", alternate="Notes") @Expose @Nullable public String notes
      The Notes. Notes relevant for the management of the application.
    • oauth2RequirePostResponse

      @SerializedName(value="oauth2RequirePostResponse", alternate="Oauth2RequirePostResponse") @Expose @Nullable public Boolean oauth2RequirePostResponse
      The Oauth2Require Post Response.
    • optionalClaims

      @SerializedName(value="optionalClaims", alternate="OptionalClaims") @Expose @Nullable public OptionalClaims optionalClaims
      The Optional Claims. Application developers can configure optional claims in their Azure AD applications to specify the claims that are sent to their application by the Microsoft security token service. For more information, see How to: Provide optional claims to your app.
    • parentalControlSettings

      @SerializedName(value="parentalControlSettings", alternate="ParentalControlSettings") @Expose @Nullable public ParentalControlSettings parentalControlSettings
      The Parental Control Settings. Specifies parental control settings for an application.
    • passwordCredentials

      @SerializedName(value="passwordCredentials", alternate="PasswordCredentials") @Expose @Nullable public List<PasswordCredential> passwordCredentials
      The Password Credentials. The collection of password credentials associated with the application. Not nullable.
    • publicClient

      @SerializedName(value="publicClient", alternate="PublicClient") @Expose @Nullable public PublicClientApplication publicClient
      The Public Client. Specifies settings for installed clients such as desktop or mobile devices.
    • publisherDomain

      @SerializedName(value="publisherDomain", alternate="PublisherDomain") @Expose @Nullable public String publisherDomain
      The Publisher Domain. The verified publisher domain for the application. Read-only. For more information, see How to: Configure an application's publisher domain. Supports $filter (eq, ne, ge, le, startsWith).
    • requiredResourceAccess

      @SerializedName(value="requiredResourceAccess", alternate="RequiredResourceAccess") @Expose @Nullable public List<RequiredResourceAccess> requiredResourceAccess
      The Required Resource Access. Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le).
    • samlMetadataUrl

      @SerializedName(value="samlMetadataUrl", alternate="SamlMetadataUrl") @Expose @Nullable public String samlMetadataUrl
      The Saml Metadata Url. The URL where the service exposes SAML metadata for federation. This property is valid only for single-tenant applications. Nullable.
    • serviceManagementReference

      @SerializedName(value="serviceManagementReference", alternate="ServiceManagementReference") @Expose @Nullable public String serviceManagementReference
      The Service Management Reference. References application or service contact information from a Service or Asset Management database. Nullable.
    • signInAudience

      @SerializedName(value="signInAudience", alternate="SignInAudience") @Expose @Nullable public String signInAudience
      The Sign In Audience. Specifies the Microsoft accounts that are supported for the current application. The possible values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount (default), and PersonalMicrosoftAccount. See more in the table below. Supports $filter (eq, ne, not).
    • spa

      @SerializedName(value="spa", alternate="Spa") @Expose @Nullable public SpaApplication spa
      The Spa. Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens.
    • tags

      @SerializedName(value="tags", alternate="Tags") @Expose @Nullable public List<String> tags
      The Tags. Custom strings that can be used to categorize and identify the application. Not nullable. Supports $filter (eq, not, ge, le, startsWith).
    • tokenEncryptionKeyId

      @SerializedName(value="tokenEncryptionKeyId", alternate="TokenEncryptionKeyId") @Expose @Nullable public UUID tokenEncryptionKeyId
      The Token Encryption Key Id. 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.
    • verifiedPublisher

      @SerializedName(value="verifiedPublisher", alternate="VerifiedPublisher") @Expose @Nullable public VerifiedPublisher verifiedPublisher
      The Verified Publisher. Specifies the verified publisher of the application. For more information about how publisher verification helps support application security, trustworthiness, and compliance, see Publisher verification.
    • web

      @SerializedName(value="web", alternate="Web") @Expose @Nullable public WebApplication web
      The Web. Specifies settings for a web application.
    • createdOnBehalfOf

      @SerializedName(value="createdOnBehalfOf", alternate="CreatedOnBehalfOf") @Expose @Nullable public DirectoryObject createdOnBehalfOf
      The Created On Behalf Of. Supports $filter (eq when counting empty collections). Read-only.
    • extensionProperties

      @SerializedName(value="extensionProperties", alternate="ExtensionProperties") @Expose @Nullable public ExtensionPropertyCollectionPage extensionProperties
      The Extension Properties. Read-only. Nullable. Supports $expand and $filter (eq and ne when counting empty collections and only with advanced query parameters).
    • federatedIdentityCredentials

      @SerializedName(value="federatedIdentityCredentials", alternate="FederatedIdentityCredentials") @Expose @Nullable public FederatedIdentityCredentialCollectionPage federatedIdentityCredentials
      The Federated Identity Credentials. Federated identities for applications. Supports $expand and $filter (startsWith, and eq, ne when counting empty collections and only with advanced query parameters).
    • homeRealmDiscoveryPolicies

      @Nullable public HomeRealmDiscoveryPolicyCollectionPage homeRealmDiscoveryPolicies
      The Home Realm Discovery Policies.
    • owners

      @Nullable public DirectoryObjectCollectionPage owners
      The Owners. Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
    • tokenIssuancePolicies

      @Nullable public TokenIssuancePolicyCollectionPage tokenIssuancePolicies
      The Token Issuance Policies.
    • tokenLifetimePolicies

      @Nullable public TokenLifetimePolicyCollectionPage tokenLifetimePolicies
      The Token Lifetime Policies.
  • Constructor Details

    • Application

      public Application()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class DirectoryObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to