Uses of Class
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOAuth2PermissionGrant
Packages that use MicrosoftGraphOAuth2PermissionGrant
Package
Description
Package containing the inner data models for AuthorizationManagementClient.
-
Uses of MicrosoftGraphOAuth2PermissionGrant in com.azure.resourcemanager.authorization.fluent.models
Methods in com.azure.resourcemanager.authorization.fluent.models that return MicrosoftGraphOAuth2PermissionGrantModifier and TypeMethodDescriptionMicrosoftGraphOAuth2PermissionGrant.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: oAuth2PermissionGrant.MicrosoftGraphOAuth2PermissionGrant.withClientId(String clientId) Set the clientId property: The id of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API.MicrosoftGraphOAuth2PermissionGrant.withConsentType(String consentType) Set the consentType property: Indicates if authorization is granted for the client application to impersonate all users or only a specific user.Set the id property: Read-only.MicrosoftGraphOAuth2PermissionGrant.withPrincipalId(String principalId) Set the principalId property: The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal.MicrosoftGraphOAuth2PermissionGrant.withResourceId(String resourceId) Set the resourceId property: The id of the resource service principal to which access is authorized.Set the scope property: A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API).Methods in com.azure.resourcemanager.authorization.fluent.models that return types with arguments of type MicrosoftGraphOAuth2PermissionGrantModifier and TypeMethodDescriptionMicrosoftGraphServicePrincipalInner.oauth2PermissionGrants()Get the oauth2PermissionGrants property: Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user.MicrosoftGraphUserInner.oauth2PermissionGrants()Get the oauth2PermissionGrants property: The oauth2PermissionGrants property.Method parameters in com.azure.resourcemanager.authorization.fluent.models with type arguments of type MicrosoftGraphOAuth2PermissionGrantModifier and TypeMethodDescriptionMicrosoftGraphServicePrincipalInner.withOauth2PermissionGrants(List<MicrosoftGraphOAuth2PermissionGrant> oauth2PermissionGrants) Set the oauth2PermissionGrants property: Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user.MicrosoftGraphUserInner.withOauth2PermissionGrants(List<MicrosoftGraphOAuth2PermissionGrant> oauth2PermissionGrants) Set the oauth2PermissionGrants property: The oauth2PermissionGrants property.