Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abatishchev authored Feb 14, 2022
1 parent d7d76fb commit 5d59adf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ services.AddSingleton<IIdentityFactory, CustomIdentityFctory>();
services.AddSingleton<ITicketFactory, CustomTicketFactory>();
```

### Register middleware to validate JWT
### Register authentication handler to validate JWT

```c#
services.AddAuthentication(options =>
Expand All @@ -319,6 +319,8 @@ services.AddAuthentication(options =>
{
options.Keys = configureOptions.Keys;
options.VerifySignature = configureOptions.VerifySignature;

// optionally customize
});
```

Expand Down

1 comment on commit 5d59adf

@Trealent777
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update README.md

Please sign in to comment.