Commit c5a6588
Vadim Belov
Add support for custom token claims in BaseAuthController
Introduce virtual GetAdditionalTokenClaims method to allow derived controllers to add custom claims to authentication tokens. Update CreateAccessToken to include these claims in JWT generation. Add XML documentation for the new method.1 parent cb8d0a7 commit c5a6588
1 file changed
Lines changed: 15 additions & 0 deletions
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
382 | 393 | | |
383 | 394 | | |
384 | 395 | | |
| |||
388 | 399 | | |
389 | 400 | | |
390 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
391 | 406 | | |
392 | 407 | | |
393 | 408 | | |
| |||
0 commit comments