|
107 | 107 | ],
|
108 | 108 | "description": "Dev Proxy response header"
|
109 | 109 | },
|
| 110 | + "AuthPlugin": { |
| 111 | + "prefix": "devproxy-plugin-auth", |
| 112 | + "body": [ |
| 113 | + "{", |
| 114 | + "\t\"name\": \"AuthPlugin\",", |
| 115 | + "\t\"enabled\": true,", |
| 116 | + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", |
| 117 | + "\t\"configSection\": \"auth\"", |
| 118 | + "}" |
| 119 | + ], |
| 120 | + "description": "AuthPlugin instance" |
| 121 | + }, |
| 122 | + "AuthPluginAPIKeyConfig": { |
| 123 | + "prefix": "devproxy-plugin-auth-config-apikey", |
| 124 | + "body": [ |
| 125 | + "\"auth\": {", |
| 126 | + "\t\"type\": \"apiKey\",", |
| 127 | + "\t\"apiKey\": {", |
| 128 | + "\t\t\"parameters\": [", |
| 129 | + "\t\t\t{", |
| 130 | + "\t\t\t\t\"in\": \"header\",", |
| 131 | + "\t\t\t\t\"name\": \"x-api-key\"", |
| 132 | + "\t\t\t},", |
| 133 | + "\t\t\t{", |
| 134 | + "\t\t\t\t\"in\": \"query\",", |
| 135 | + "\t\t\t\t\"name\": \"code\"", |
| 136 | + "\t\t\t}", |
| 137 | + "\t\t],", |
| 138 | + "\t\t\"allowedKeys\": [", |
| 139 | + "\t\t\t\"1234\"", |
| 140 | + "\t\t]", |
| 141 | + "\t}", |
| 142 | + "}" |
| 143 | + ], |
| 144 | + "description": "AuthPlugin API Key config section" |
| 145 | + }, |
| 146 | + "AuthPluginOAuth2Config": { |
| 147 | + "prefix": "devproxy-plugin-auth-config-oauth2", |
| 148 | + "body": [ |
| 149 | + "\"auth\": {", |
| 150 | + "\t\"type\": \"oauth2\",", |
| 151 | + "\t\"oauth2\": {", |
| 152 | + "\t\t\"metadataUrl\": \"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration\",", |
| 153 | + "\t\t\"allowedApplications\": [", |
| 154 | + "\t\t\t\"00000000-0000-0000-0000-000000000000\"", |
| 155 | + "\t\t],", |
| 156 | + "\t\t\"allowedAudiences\": [", |
| 157 | + "\t\t\t\"00000000-0000-0000-0000-000000000000\"", |
| 158 | + "\t\t],", |
| 159 | + "\t\t\"allowedPrincipals\": [", |
| 160 | + "\t\t\t\"00000000-0000-0000-0000-000000000000\"", |
| 161 | + "\t\t],", |
| 162 | + "\t\t\"allowedTenants\": [", |
| 163 | + "\t\t\t\"00000000-0000-0000-0000-000000000000\"", |
| 164 | + "\t\t],", |
| 165 | + "\t\t\"issuer\": \"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0\",", |
| 166 | + "\t\t\"scopes\": [", |
| 167 | + "\t\t\t\"Posts.Read\"", |
| 168 | + "\t\t],", |
| 169 | + "\t\t\"validateLifetime\": true,", |
| 170 | + "\t\t\"validateSigningKey\": true", |
| 171 | + "\t}", |
| 172 | + "}" |
| 173 | + ], |
| 174 | + "description": "AuthPlugin OAuth2 config section" |
| 175 | + }, |
110 | 176 | "ApiCenterMinimalPermissionsPlugin": {
|
111 | 177 | "prefix": "devproxy-plugin-api-center-minimal-permissions",
|
112 | 178 | "body": [
|
|
0 commit comments