你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ApplicationCreateParameters 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ApplicationCreateParameters()
初始化 ApplicationCreateParameters 类的新实例。
public ApplicationCreateParameters ();
Public Sub New ()
适用于
ApplicationCreateParameters(String, Nullable<Boolean>, Nullable<Boolean>, String, IList<AppRole>, IList<String>, Nullable<Boolean>, String, GroupMembershipClaimTypes, 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, IList<String>)
初始化 ApplicationCreateParameters 类的新实例。
public ApplicationCreateParameters (string displayName, bool? allowGuestsSignIn = default, bool? allowPassthroughUsers = default, string appLogoUrl = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.AppRole> appRoles = default, System.Collections.Generic.IList<string> appPermissions = default, bool? availableToOtherTenants = default, string errorUrl = default, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GroupMembershipClaimTypes groupMembershipClaims = default, string homepage = default, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.InformationalUrl informationalUrls = default, bool? isDeviceOnlyAuthSupported = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.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.Management.Graph.RBAC.Fluent.Models.OAuth2Permission> oauth2Permissions = default, bool? oauth2RequirePostResponse = default, System.Collections.Generic.IList<string> orgRestrictions = default, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.OptionalClaims optionalClaims = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordCredential> passwordCredentials = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PreAuthorizedApplication> preAuthorizedApplications = default, bool? publicClient = default, string publisherDomain = default, System.Collections.Generic.IList<string> replyUrls = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RequiredResourceAccess> requiredResourceAccess = default, string samlMetadataUrl = default, string signInAudience = default, string wwwHomepage = default, System.Collections.Generic.IList<string> identifierUris = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ApplicationCreateParameters : string * Nullable<bool> * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.AppRole> * System.Collections.Generic.IList<string> * Nullable<bool> * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GroupMembershipClaimTypes * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.InformationalUrl * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> * System.Collections.Generic.IList<string> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.OAuth2Permission> * Nullable<bool> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.OptionalClaims * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordCredential> * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PreAuthorizedApplication> * Nullable<bool> * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RequiredResourceAccess> * string * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ApplicationCreateParameters
Public Sub New (displayName As String, 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 GroupMembershipClaimTypes = 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, Optional identifierUris As IList(Of String) = Nothing)
参数
- displayName
- String
应用程序的显示名称。
- appLogoUrl
- String
存储在 CDN 中的应用程序徽标图像的 url。
- errorUrl
- String
应用程序作者提供的 URL,用于在使用应用程序时报告错误。
- groupMembershipClaims
- GroupMembershipClaimTypes
配置应用所需的用户或 OAuth 2.0 访问令牌中颁发的组声明。 可能的值包括:“None”、“SecurityGroup”、“All”
- homepage
- String
应用程序的主页。
- informationalUrls
- InformationalUrl
包含有关应用程序的详细信息的 URL。
- keyCredentials
- IList<KeyCredential>
KeyCredential 对象的集合。
绑定到此资源应用程序的客户端应用程序。 同意任何已知的客户端应用程序将导致通过组合的同意对话框(显示客户端和资源所需的 OAuth 权限作用域)隐式同意该资源应用程序。
- logoutUrl
- String
注销页的 URL
指定在令牌请求期间,Azure AD 是否允许根据回复 URI 的应用程序集合进行重定向 URI 的路径匹配。 默认值为 false。
- oauth2Permissions
- IList<OAuth2Permission>
Web API(资源)应用程序向客户端应用程序公开的 OAuth 2.0 权限范围集合。 在许可期间,可将这些权限范围授予客户端应用程序。
指定在 OAuth 2.0 令牌请求过程中,Azure AD 是否允许与 GET 请求相反的 POST 请求。 默认值为 false,即指定只允许 GET 请求。
- optionalClaims
- OptionalClaims
- passwordCredentials
- IList<PasswordCredential>
PasswordCredential 对象的集合
- preAuthorizedApplications
- IList<PreAuthorizedApplication>
预授权应用程序的列表。
- publisherDomain
- String
可用于标识应用程序的可靠域。
- requiredResourceAccess
- IList<RequiredResourceAccess>
指定此应用程序需要访问的资源,以及其中每个资源所需的 OAuth 权限范围和应用程序角色集。 这项预先配置的所需资源访问权限有利于提升许可体验。
- samlMetadataUrl
- String
应用程序的 SAML 元数据 URL。
- signInAudience
- String
登录到应用程序的受众 (AzureADMyOrganization、AzureADAllOrganizations、AzureADAndMicrosoftAccounts) 。
- wwwHomepage
- String
主要网页。