Compartilhar via


OAuth2PermissionGrantOperationsExtensions.ListAsync Método

Definição

Consulta as permissões OAuth2 concedidas para o ObjectId do SP relevante de um aplicativo.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.OAuth2PermissionGrant>> ListAsync (this Microsoft.Azure.Graph.RBAC.IOAuth2PermissionGrantOperations operations, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Graph.RBAC.IOAuth2PermissionGrantOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Graph.RBAC.Models.OAuth2PermissionGrant>>
<Extension()>
Public Function ListAsync (operations As IOAuth2PermissionGrantOperations, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OAuth2PermissionGrant))

Parâmetros

operations
IOAuth2PermissionGrantOperations

O grupo de operações para esse método de extensão.

filter
String

Esta é a ObjectId da entidade de serviço associada ao aplicativo

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a