OAuth2PermissionGrant Class
OAuth2PermissionGrant.
- Inheritance
-
OAuth2PermissionGrant
Constructor
OAuth2PermissionGrant(**kwargs)
Parameters
- client_id
- str
The id of the resource's service principal granted consent to impersonate the user when accessing the resource (represented by the resourceId property).
- consent_type
- str or ConsentType
Indicates if consent was provided by the administrator (on behalf of the organization) or by an individual. Possible values include: 'AllPrincipals', 'Principal'
- principal_id
- str
When consent type is Principal, this property specifies the id of the user that granted consent and applies only for that user.
- scope
- str
Specifies the value of the scope claim that the resource application should expect in the OAuth 2.0 access token. For example, User.Read
Feedback
Submit and view feedback for