OAuth2PermissionGrantInner 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
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. |
OAuth2PermissionGrantInner()
Initializes a new instance of the OAuth2PermissionGrantInner class.
public OAuth2PermissionGrantInner ();
Public Sub New ()
Applies to
OAuth2PermissionGrantInner(String, String, String, ConsentType, String, String, String, String, String)
Initializes a new instance of the OAuth2PermissionGrantInner class.
public OAuth2PermissionGrantInner (string odatatype = default, string clientId = default, string objectId = default, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ConsentType consentType = default, string principalId = default, string resourceId = default, string scope = default, string startTime = default, string expiryTime = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.OAuth2PermissionGrantInner : string * string * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ConsentType * string * string * string * string * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.OAuth2PermissionGrantInner
Public Sub New (Optional odatatype As String = Nothing, Optional clientId As String = Nothing, Optional objectId As String = Nothing, Optional consentType As ConsentType = Nothing, Optional principalId As String = Nothing, Optional resourceId As String = Nothing, Optional scope As String = Nothing, Optional startTime As String = Nothing, Optional expiryTime As String = Nothing)
Parameters
- odatatype
- String
Microsoft.DirectoryServices.OAuth2PermissionGrant
- clientId
- String
The id of the resource's service principal granted consent to impersonate the user when accessing the resource (represented by the resourceId property).
- objectId
- String
The id of the permission grant
- consentType
- ConsentType
Indicates if consent was provided by the administrator (on behalf of the organization) or by an individual. Possible values include: 'AllPrincipals', 'Principal'
- principalId
- String
When consent type is Principal, this property specifies the id of the user that granted consent and applies only for that user.
- resourceId
- String
Object Id of the resource you want to grant
- scope
- String
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
- String
Start time for TTL
- expiryTime
- String
Expiry time for TTL