OAuth2PermissionGrant Class

Definition

public class OAuth2PermissionGrant
type OAuth2PermissionGrant = class
Public Class OAuth2PermissionGrant
Inheritance
OAuth2PermissionGrant

Constructors

OAuth2PermissionGrant()

Initializes a new instance of the OAuth2PermissionGrant class.

OAuth2PermissionGrant(String, String, String, String, String, String, String, String, String)

Initializes a new instance of the OAuth2PermissionGrant class.

Properties

ClientId

Gets or sets the id of the resource's service principal granted consent to impersonate the user when accessing the resource (represented by the resourceId property).

ConsentType

Gets or sets indicates if consent was provided by the administrator (on behalf of the organization) or by an individual. Possible values include: 'AllPrincipals', 'Principal'

ExpiryTime

Gets or sets expiry time for TTL

ObjectId

Gets or sets the id of the permission grant

Odatatype

Gets or sets microsoft.DirectoryServices.OAuth2PermissionGrant

PrincipalId

Gets or sets when consent type is Principal, this property specifies the id of the user that granted consent and applies only for that user.

ResourceId

Gets or sets object Id of the resource you want to grant

Scope

Gets or sets specifies the value of the scope claim that the resource application should expect in the OAuth 2.0 access token. For example, User.Read

StartTime

Gets or sets start time for TTL

Applies to