You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optionally, if you use the `swa init` command, the Static Web Apps CLI looks at your application code and build a _swa-cli.config.json_ configuration file for the CLI. When you use the _swa-cli.config.json_ file, you can run `swa start` to launch your application locally.
63
63
64
-
<sup>1</sup> The Azure Functions Core Tools are automatically installed by the CLI if they are not already on your system.
64
+
<sup>1</sup> The Azure Functions Core Tools are automatically installed by the CLI if they aren't already on your system.
65
65
66
66
## Prerequisites
67
67
@@ -106,7 +106,7 @@ Open a terminal to the root folder of your existing Azure Static Web Apps site.
106
106
| Serve a specific folder | `swa start ./<OUTPUT_FOLDER_NAME>` | Replace `<OUTPUT_FOLDER_NAME>` with the name of your output folder. |
107
107
| Use a running framework development server | `swa start http://localhost:3000` | This command works when you have an instance of your application running under port `3000`. Update the port number if your configuration is different. |
108
108
| Start a Functions app in a folder | `swa start ./<OUTPUT_FOLDER_NAME> --api-location ./api` | Replace `<OUTPUT_FOLDER_NAME>` with the name of your output folder. This command expects your application's API to have files in the _api_ folder. Update this value if your configuration is different. |
109
-
| Use a running Functions app | `swa start ./<OUTPUT_FOLDER_NAME> --api-location http://localhost:7071` | Replace `<OUTPUT_FOLDER_NAME>` with the name of your output folder. This command expects your Azure Functions application the be available through port `7071`. Update the port number if your configuration is different. |
109
+
| Use a running Functions app | `swa start ./<OUTPUT_FOLDER_NAME> --api-location http://localhost:7071` | Replace `<OUTPUT_FOLDER_NAME>` with the name of your output folder. This command expects your Azure Functions application to be available through port `7071`. Update the port number if your configuration is different. |
110
110
111
111
## Authorization and authentication emulation
112
112
@@ -126,6 +126,7 @@ The emulator provides a page allowing you to provide the following [client princ
126
126
| **Username** | The account name associated with the security provider. This value appears as the `userDetails` property in the client principal and is autogenerated if you don't provide a value. |
127
127
| **User ID** | Value autogenerated by the CLI. |
128
128
| **Roles** | A list of role names, where each name is on a new line. |
129
+
| **Claims** | A list of [user claims](user-information#client-principal-data), where each name is on a new line. |
0 commit comments