Bagikan melalui


GraphMinimalPermissionsPlugin

Mengembalikan daftar izin minimal yang diperlukan untuk permintaan Microsoft Graph yang direkam proksi.

Cuplikan layar prompt perintah dengan Dev Proxy memperlihatkan daftar izin minimal untuk kumpulan permintaan Microsoft Graph.

Contoh konfigurasi

{
  "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/rc.schema.json",
  "plugins": [
    {
      "name": "GraphMinimalPermissionsPlugin",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
      "configSection": "graphMinimalPermissionsPlugin"
    }
  ],
  "graphMinimalPermissionsPlugin": {
    "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/graphminimalpermissionsplugin.schema.json",
    "type": "Delegated"
  }
}

Properti konfigurasi

Properti Deskripsi Bawaan
type Menentukan jenis cakupan izin mana yang akan dikembalikan. Dapat berupa Delegated atau Application Delegated

Opsi baris Perintah

Tidak ada

Langkah selanjutnya