Interface IPermissionGrant2
- Namespace
- PnP.Core.Admin.Model.SharePoint
- Assembly
- PnP.Core.Admin.dll
An oauth2 permission granted on the SharePoint Online Client Extensibility Web Application Principal
public interface IPermissionGrant2
Properties
ClientId
ClientId of the SharePoint Online Client Extensibility Web Application Principal
string ClientId { get; set; }
Property Value
ConsentType
Consent Type, e.g. AllPrincipals
string ConsentType { get; set; }
Property Value
ExpiryTime
Expires after
DateTime ExpiryTime { get; set; }
Property Value
Id
Grant Id
string Id { get; set; }
Property Value
ResourceId
Id of the granted resource
string ResourceId { get; set; }
Property Value
ResourceName
Name of the granted resource
string ResourceName { get; set; }
Property Value
Scope
List of scopes granted, separated by spaces, e.g. "Sites.Selected User.ReadBasic.All"
string Scope { get; set; }
Property Value
StartTime
Not valid before
DateTime StartTime { get; set; }