How to Set identityOptions ?
See original GitHub issueIs there any place to access services in order to config identityOptions like this
services.Configure<SecurityStampValidatorOptions>(options => { // enables immediate logout, after updating the user's stat. options.ValidationInterval = TimeSpan.Zero; });
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Configure ASP.NET Core Identity
The IdentityOptions class represents the options that can be used to configure the Identity system. IdentityOptions must be set after ...
Read more >How to configure IdentityOptions outside ConfigureServices?
I want to configure ASP.NET Core Identity based on settings which resides in database rather than AppSetting.json or hard coded values.
Read more >IdentityOptions Class (Microsoft.AspNetCore.Identity)
Represents all the options you can use to configure the identity system.
Read more >Configure ASP.NET Core Identity
AspNetCore.Identity.IdentityOptions class represents the options that can be used to configure the Identity system. xref:Microsoft.AspNetCore.Identity.
Read more >[.NET Core Identity] How to set option value dynamically ...
Hi everyone. Currently, I need to change parameter value for my IdentityOptions dynamically from db. So, in my ConsigureServices(.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try below code:
hi
You can add your custom claims here.
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/c0604b9b1347a3b9581bf97b4cae22db5b6bab1b/src/Abp.Zero/Authorization/Users/AbpUserManager.cs#L432-L441