ASP NET core identity password complexity

preview_player
Показать описание

Text version of the video

Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.

Slides

ASP.NET Core Text Articles & Slides

ASP.NET Core Tutorial

Angular, JavaScript, jQuery, Dot Net & SQL Playlists

ASP.NET Core Identity Password Default Settings

public class PasswordOptions
{
public int RequiredLength { get; set; } = 6;
public int RequiredUniqueChars { get; set; } = 1;
public bool RequireNonAlphanumeric { get; set; } = true;
public bool RequireLowercase { get; set; } = true;
public bool RequireUppercase { get; set; } = true;
public bool RequireDigit { get; set; } = true;
}

We could do this by, using the Configure() method of the IServiceCollection interface in the ConfigureServices() method of the Startup class

services.Configure[IdentityOptions](options =]
{
options.Password.RequiredLength = 10;
options.Password.RequiredUniqueChars = 3;
options.Password.RequireNonAlphanumeric = false;
});

OR

We could also do this while adding Identity services

services.AddIdentity[IdentityUser, IdentityRole](options =]
{
options.Password.RequiredLength = 10;
options.Password.RequiredUniqueChars = 3;
options.Password.RequireNonAlphanumeric = false;
})
.AddEntityFrameworkStores[AppDbContext]();

ASP.NET Core IdentityOptions

In this example, we are using the IdentityOptions object to configure PasswordOptions. We could also use this IdentityOptions object to configure
UserOptions
SignInOptions
LockoutOptions
TokenOptions
StoreOptions
ClaimsIdentityOptions
Рекомендации по теме
Комментарии
Автор

Truly excellent teaching and course material. Clear, concise and focused. Outstanding, thank you.

MB-nwsz
Автор

Can someone tell me, I really plowed through the ASP documentation, but I couldn't understand. How this tutor could understand all these concepts so comprehensively and in so much depth?

hamedhomaee
Автор

thank you your are the best teacher <3

mohamedkamall
Автор

Great is very little word about this vid series... its more than thanks and keep going, you are saving our lives :)

IMateme
Автор

Thank you very much
for the simple and clear explanation

talkathiriify
Автор

thank you very much my favorite teacher venkat, This video isn't exist on the list, please include it in the list

learntolearn
Автор

Thanks a lot for your videos ! But pay attention that on this on the final link aren't correct. It's the 68th video and link showed are for 66 or 67, it should be 67 or 69... Thanks !

AlkiaTerssac
Автор

You'd need to do regex check with JavaScript/client side as well if you want the notifications to show before you submit "Register" in real time?

James-zrlu
Автор

Kudvenkat, can you please make a brief video on what exactly does it exactly mean open source, and cross platform?
For example cross-platform means work on every operating system, but every website in any technology do so also right ?

MrKoukoo
Автор

Sir, Link to the next and previous videos is wrong.

siddeshwargajula
Автор

Master kudvenkat, can you please include working with cookies in your tutorials? Thanks.

pourianayeb
Автор

Help. Can someone help me with the steps? How did he know that identityOptions was the parameter to use when configuring the identity service?

tisurmaster
Автор

Please make a tutorial on hosting application in docker container.

vssrikanthgarnepudi
Автор

Hi I am a game developer. Could you teach how to integrate asp.net core Signalr and how it works with asp.net core? Thanks

chacha
Автор

I Add those changes but it doesn't work for me :( any suggestions?

brgp
Автор

can give me name of music in end videos please?

AhmedGamalGIS
Автор



The result is failed and getting the error like  
In the above code, the is class. 

Please guide,  
Thnks in advance

karthikkarki
join shbcf.ru