Share via


OAuth2PermissionGrantInner Class

Definition

public class OAuth2PermissionGrantInner
type OAuth2PermissionGrantInner = class
Public Class OAuth2PermissionGrantInner
Inheritance
OAuth2PermissionGrantInner

Constructors

OAuth2PermissionGrantInner()

Initializes a new instance of the OAuth2PermissionGrantInner class.

OAuth2PermissionGrantInner(String, String, String, ConsentType, String, String, String, String, String)

Initializes a new instance of the OAuth2PermissionGrantInner 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