共用方式為


ApplicationBase Constructors

Definition

Overloads

ApplicationBase()

Initializes a new instance of the ApplicationBase class.

ApplicationBase(Nullable<Boolean>, Nullable<Boolean>, String, IList<AppRole>, IList<String>, Nullable<Boolean>, String, Object, 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 ApplicationBase class.

ApplicationBase()

Initializes a new instance of the ApplicationBase class.

public ApplicationBase ();
Public Sub New ()

Applies to

ApplicationBase(Nullable<Boolean>, Nullable<Boolean>, String, IList<AppRole>, IList<String>, Nullable<Boolean>, String, Object, 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 ApplicationBase class.

public ApplicationBase (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 errorUrl = default, object groupMembershipClaims = default, string homepage = 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.ApplicationBase : Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.AppRole> * System.Collections.Generic.IList<string> * Nullable<bool> * string * obj * 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.ApplicationBase
Public Sub New (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 errorUrl As String = Nothing, Optional groupMembershipClaims As Object = Nothing, Optional homepage As 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

allowGuestsSignIn
Nullable<Boolean>

A property on the application to indicate if the application accepts other IDPs or not or partially accepts.

allowPassthroughUsers
Nullable<Boolean>

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.

appRoles
IList<AppRole>

The collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals.

appPermissions
IList<String>

The application permissions.

availableToOtherTenants
Nullable<Boolean>

Whether the application is available to other tenants.

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.

isDeviceOnlyAuthSupported
Nullable<Boolean>

Specifies whether this application supports device authentication without a user. The default is false.

keyCredentials
IList<KeyCredential>

A collection of KeyCredential objects.

knownClientApplications
IList<String>

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

oauth2AllowImplicitFlow
Nullable<Boolean>

Whether to allow implicit grant flow for OAuth2

oauth2AllowUrlPathMatching
Nullable<Boolean>

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.

oauth2RequirePostResponse
Nullable<Boolean>

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.

orgRestrictions
IList<String>

A list of tenants allowed to access application.

optionalClaims
OptionalClaims
passwordCredentials
IList<PasswordCredential>

A collection of PasswordCredential objects

preAuthorizedApplications
IList<PreAuthorizedApplication>

list of pre-authorized applications.

publicClient
Nullable<Boolean>

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.

replyUrls
IList<String>

A collection of reply URLs for the 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