
Explore the advanced ASP.NET Core Identity API to manage users, roles, claims, and policies for protecting endpoints, and learn behind-the-scenes details like user validators and async user creation.
Explore a blog post app built with ASP.NET Core Identity, featuring login, register, and in-memory posts, plus an admin area to manage users and roles via Entity Framework migrations.
Encrypt and decrypt user data in ASP.NET Core Identity using ILookupProtector and ILookupProtectorKeyRing, enable personal data protection, and register custom protectors for emails, names, and phones.
Learn how to use the IClaimsTransformation interface to add a custom delete post claim at runtime for users authenticated via a third-party provider, and render the delete button accordingly.
Implement a custom normalization by creating a class that implements the ILookupNormalizer interface to produce lowercase normalized username and email, and register it in DI to replace the default.
Create a new user in ASP.Net Core Identity via createasync, which has overloads. Validate the user and password via user and password validators to enforce policies in the program class.
Implement a custom user validator via IUserValidator and its ValidateAsync to reject emails ending with mail.com, returning IdentityResult with an array of IdentityError, and register in identity services.
Derive from user validator object directly to combine built-in validation with custom validation in ASP.NET Core Identity, override the validate async method, and tailor error handling within identity service options.
Derive a custom password validator from the password validator object to combine built-in ASP.NET Core Identity checks with a rule that blocks a 1–6 sequence, and register it in program.
Learn how to implement email confirmation in ASP.NET Core Identity by generating, encoding, and sending a confirmation link, then decoding and confirming the user token to enable sign in.
Learn to extend the email confirmation token lifetime in ASP.NET Core Identity by building a custom data protection token provider, configuring its options, and registering it in the program.
Generate user token async lets you generate tokens for email confirmation, phone confirmation, and password tokens across all token providers, and verify decoded tokens to confirm email.
Explore how ASP.NET Core Identity uses the IUserConfirmation interface to control required confirmations (email, phone, account) and customize login behavior via sign-in results.
Implement a custom user confirmation in ASP.NET Core Identity by deriving from the default confirmation, overriding is confirmed async, and wiring it via sign in options.
Explore advanced two factor authentication in ASP.NET Core Identity, implement a four digit token provider, integrate authenticator apps, and enable recovery codes in .NET 7.
Enable two factor authentication in ASP.NET Core Identity by updating account creation and sign-in, generating email tokens, and implementing get and post two-factor actions.
Learn to implement a custom IUserTwoFactorTokenProvider in ASP.NET Core Identity to produce four-digit two-factor tokens, store and validate them with a concurrent token store, and register the provider.
Explore how to implement recovery codes in ASP.NET Core Identity on .NET 7, enabling users to generate and securely store backup codes for login when two-factor access fails.
This is an advanced ASP.NET Core Identity Course, so for that you will not find here how to create user or how to add user to Roles or add user to Claims or update the user and such topics like that but all these features are done by default in the sample app that I push it to my GitHub Repo because all the basic implementation of the ASP.NET Core Identity is available over internet (online) and also here in the Udemy platform there are many courses teaches you the basic of ASP.NET Core Identity.
Here in this course (Advanced ASP.NET Core Identity in .NET 7) you will learn an advanced topics such as Encrypt and Decrypt user's data, Custom user confirmation, custom lookup normalizer, also you will learn how to reduce the 2FA token length from 6 digits to 4 digits as well as working with Authenticator App, also there is overview on how to work with Recovery Code and more.
I choose these topics based on my experience and my daily work with ASP.NET Core Identity and I decide to share this acknowledge with you.
And I hope to enjoy watching this course as much as I recorded it.