OAuth2Permission 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
OAuth2Permission() |
Initializes a new instance of the OAuth2Permission class. |
OAuth2Permission(String, String, String, Nullable<Boolean>, String, String, String, String) |
Initializes a new instance of the OAuth2Permission class. |
OAuth2Permission()
Initializes a new instance of the OAuth2Permission class.
public OAuth2Permission ();
Public Sub New ()
Applies to
OAuth2Permission(String, String, String, Nullable<Boolean>, String, String, String, String)
Initializes a new instance of the OAuth2Permission class.
public OAuth2Permission (string adminConsentDescription = default, string adminConsentDisplayName = default, string id = default, bool? isEnabled = default, string type = default, string userConsentDescription = default, string userConsentDisplayName = default, string value = default);
new Microsoft.Azure.Graph.RBAC.Models.OAuth2Permission : string * string * string * Nullable<bool> * string * string * string * string -> Microsoft.Azure.Graph.RBAC.Models.OAuth2Permission
Public Sub New (Optional adminConsentDescription As String = Nothing, Optional adminConsentDisplayName As String = Nothing, Optional id As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional type As String = Nothing, Optional userConsentDescription As String = Nothing, Optional userConsentDisplayName As String = Nothing, Optional value As String = Nothing)
Parameters
- adminConsentDescription
- String
Permission help text that appears in the admin consent and app assignment experiences.
- adminConsentDisplayName
- String
Display name for the permission that appears in the admin consent and app assignment experiences.
- id
- String
Unique scope permission identifier inside the oauth2Permissions collection.
When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed.
- type
- String
Specifies whether this scope permission can be consented to by an end user, or whether it is a tenant-wide permission that must be consented to by a Company Administrator. Possible values are "User" or "Admin".
- userConsentDescription
- String
Permission help text that appears in the end user consent experience.
- userConsentDisplayName
- String
Display name for the permission that appears in the end user consent experience.
- value
- String
The value of the scope claim that the resource application should expect in the OAuth 2.0 access token.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應