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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Add AzureFunctions.Extensions.OpenIDConnect NuGet package to your Azure Function
21
21
22
22
Now head over the Configure method of the Startup class, add configure OpenID-Connect the way you like it.
23
23
24
-
```
24
+
```csharp
25
25
namespaceMySecuredApp
26
26
{
27
27
publicclassStartup : FunctionsStartup
@@ -44,7 +44,7 @@ namespace MySecuredApp
44
44
### Securing an Azure Function
45
45
Not that everything is configured, you can decorate your http-triggered functions with the well known [Authorize](https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authorization.authorizeattribute?view=aspnetcore-3.1) attribute as follows:
0 commit comments