Skip to content

Commit d7c8dbf

Browse files
authored
Update README.md
1 parent dbd4ece commit d7c8dbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add AzureFunctions.Extensions.OpenIDConnect NuGet package to your Azure Function
2121
2222
Now head over the Configure method of the Startup class, add configure OpenID-Connect the way you like it.
2323

24-
```
24+
```csharp
2525
namespace MySecuredApp
2626
{
2727
public class Startup : FunctionsStartup
@@ -44,7 +44,7 @@ namespace MySecuredApp
4444
### Securing an Azure Function
4545
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:
4646

47-
```
47+
```csharp
4848
namespace MySecuredApp
4949
{
5050
public class MyFunction

0 commit comments

Comments
 (0)