Application Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Application()
Initializes a new instance of the Application class.
public Application ();
Public Sub New ()
Applies to
Application(IDictionary<String,Object>, String, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, String, IList<AppRole>, IList<String>, Nullable<Boolean>, String, String, Object, String, IList<String>, InformationalUrl, Nullable<Boolean>, IList<KeyCredential>, IList<String>, String, Nullable<Boolean>, Nullable<Boolean>, IList<OAuth2Permission>, Nullable<Boolean>, IList<String>, OptionalClaims, IList<PasswordCredential>, IList<PreAuthorizedApplication>, Nullable<Boolean>, String, IList<String>, IList<RequiredResourceAccess>, String, String, String)
Initializes a new instance of the Application class.
public Application (System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string objectId = default, DateTime? deletionTimestamp = default, string appId = default, bool? allowGuestsSignIn = default, bool? allowPassthroughUsers = default, string appLogoUrl = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.AppRole> appRoles = default, System.Collections.Generic.IList<string> appPermissions = default, bool? availableToOtherTenants = default, string displayName = default, string errorUrl = default, object groupMembershipClaims = default, string homepage = default, System.Collections.Generic.IList<string> identifierUris = default, Microsoft.Azure.Graph.RBAC.Models.InformationalUrl informationalUrls = default, bool? isDeviceOnlyAuthSupported = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.KeyCredential> keyCredentials = default, System.Collections.Generic.IList<string> knownClientApplications = default, string logoutUrl = default, bool? oauth2AllowImplicitFlow = default, bool? oauth2AllowUrlPathMatching = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.OAuth2Permission> oauth2Permissions = default, bool? oauth2RequirePostResponse = default, System.Collections.Generic.IList<string> orgRestrictions = default, Microsoft.Azure.Graph.RBAC.Models.OptionalClaims optionalClaims = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.PasswordCredential> passwordCredentials = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.PreAuthorizedApplication> preAuthorizedApplications = default, bool? publicClient = default, string publisherDomain = default, System.Collections.Generic.IList<string> replyUrls = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.RequiredResourceAccess> requiredResourceAccess = default, string samlMetadataUrl = default, string signInAudience = default, string wwwHomepage = default);
new Microsoft.Azure.Graph.RBAC.Models.Application : System.Collections.Generic.IDictionary<string, obj> * string * Nullable<DateTime> * string * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.AppRole> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string * obj * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Graph.RBAC.Models.InformationalUrl * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.KeyCredential> * System.Collections.Generic.IList<string> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.OAuth2Permission> * Nullable<bool> * System.Collections.Generic.IList<string> * Microsoft.Azure.Graph.RBAC.Models.OptionalClaims * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.PasswordCredential> * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.PreAuthorizedApplication> * Nullable<bool> * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.RequiredResourceAccess> * string * string * string -> Microsoft.Azure.Graph.RBAC.Models.Application
Public Sub New (Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional objectId As String = Nothing, Optional deletionTimestamp As Nullable(Of DateTime) = Nothing, Optional appId As String = Nothing, Optional allowGuestsSignIn As Nullable(Of Boolean) = Nothing, Optional allowPassthroughUsers As Nullable(Of Boolean) = Nothing, Optional appLogoUrl As String = Nothing, Optional appRoles As IList(Of AppRole) = Nothing, Optional appPermissions As IList(Of String) = Nothing, Optional availableToOtherTenants As Nullable(Of Boolean) = Nothing, Optional displayName As String = Nothing, Optional errorUrl As String = Nothing, Optional groupMembershipClaims As Object = Nothing, Optional homepage As String = Nothing, Optional identifierUris As IList(Of String) = Nothing, Optional informationalUrls As InformationalUrl = Nothing, Optional isDeviceOnlyAuthSupported As Nullable(Of Boolean) = Nothing, Optional keyCredentials As IList(Of KeyCredential) = Nothing, Optional knownClientApplications As IList(Of String) = Nothing, Optional logoutUrl As String = Nothing, Optional oauth2AllowImplicitFlow As Nullable(Of Boolean) = Nothing, Optional oauth2AllowUrlPathMatching As Nullable(Of Boolean) = Nothing, Optional oauth2Permissions As IList(Of OAuth2Permission) = Nothing, Optional oauth2RequirePostResponse As Nullable(Of Boolean) = Nothing, Optional orgRestrictions As IList(Of String) = Nothing, Optional optionalClaims As OptionalClaims = Nothing, Optional passwordCredentials As IList(Of PasswordCredential) = Nothing, Optional preAuthorizedApplications As IList(Of PreAuthorizedApplication) = Nothing, Optional publicClient As Nullable(Of Boolean) = Nothing, Optional publisherDomain As String = Nothing, Optional replyUrls As IList(Of String) = Nothing, Optional requiredResourceAccess As IList(Of RequiredResourceAccess) = Nothing, Optional samlMetadataUrl As String = Nothing, Optional signInAudience As String = Nothing, Optional wwwHomepage As String = Nothing)
Parameters
- additionalProperties
- IDictionary<String,Object>
Unmatched properties from the message are deserialized this collection
- objectId
- String
The object ID.
- appId
- String
The application ID.
A property on the application to indicate if the application accepts other IDPs or not or partially accepts.
Indicates that the application supports pass through users who have no presence in the resource tenant.
- appLogoUrl
- String
The url for the application logo image stored in a CDN.
The collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals.
- displayName
- String
The display name of the application.
- errorUrl
- String
A URL provided by the author of the application to report errors when using the application.
- groupMembershipClaims
- Object
Configures the groups claim issued in a user or OAuth 2.0 access token that the app expects.
- homepage
- String
The home page of the application.
- informationalUrls
- InformationalUrl
urls with more informations of the application.
Specifies whether this application supports device authentication without a user. The default is false.
- keyCredentials
- IList<KeyCredential>
A collection of KeyCredential objects.
Client applications that are tied to this resource application. Consent to any of the known client applications will result in implicit consent to the resource application through a combined consent dialog (showing the OAuth permission scopes required by the client and the resource).
- logoutUrl
- String
the url of the logout page
Specifies whether during a token Request Azure AD will allow path matching of the redirect URI against the applications collection of replyURLs. The default is false.
- oauth2Permissions
- IList<OAuth2Permission>
The collection of OAuth 2.0 permission scopes that the web API (resource) application exposes to client applications. These permission scopes may be granted to client applications during consent.
Specifies whether, as part of OAuth 2.0 token requests, Azure AD will allow POST requests, as opposed to GET requests. The default is false, which specifies that only GET requests will be allowed.
- optionalClaims
- OptionalClaims
- passwordCredentials
- IList<PasswordCredential>
A collection of PasswordCredential objects
- preAuthorizedApplications
- IList<PreAuthorizedApplication>
list of pre-authorized applications.
Specifies whether this application is a public client (such as an installed application running on a mobile device). Default is false.
- publisherDomain
- String
Reliable domain which can be used to identify an application.
- requiredResourceAccess
- IList<RequiredResourceAccess>
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.
- samlMetadataUrl
- String
The URL to the SAML metadata for the application.
- signInAudience
- String
Audience for signing in to the application (AzureADMyOrganization, AzureADAllOrganizations, AzureADAndMicrosoftAccounts).
- wwwHomepage
- String
The primary Web page.
Applies to
Azure SDK for .NET