你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ApplicationBase 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ApplicationBase()
初始化 ApplicationBase 类的新实例。
public ApplicationBase ();
Public Sub New ()
适用于
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)
初始化 ApplicationBase 类的新实例。
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)
参数
- appLogoUrl
- String
存储在 CDN 中的应用程序徽标图像的 url。
- errorUrl
- String
应用程序作者提供的 URL,用于在使用应用程序时报告错误。
- groupMembershipClaims
- Object
配置在应用预期的用户或 OAuth 2.0 访问令牌中颁发的组声明。
- homepage
- String
应用程序的主页。
- informationalUrls
- InformationalUrl
包含应用程序详细信息的 url。
- keyCredentials
- IList<KeyCredential>
KeyCredential 对象的集合。
绑定到此资源应用程序的客户端应用程序。 同意任何已知的客户端应用程序将导致通过组合的同意对话框(显示客户端和资源所需的 OAuth 权限作用域)隐式同意该资源应用程序。
- logoutUrl
- String
注销页的 URL
指定在令牌请求期间,Azure AD 是否允许对应用程序集合的 replyURLs 进行重定向 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
主要网页。