liveBook · Manning

SignInManager<T>

As explained in Building Web APIs with ASP.NET Core

SignInManager is an ASP.NET Core Identity service that manages user sign-in operations.

SignInManager provides ASP.NET Core Identity APIs for logging users in. An AccountController receives it through dependency injection alongside UserManager and IConfiguration, supporting separate Register and Login actions. section 9.2.6

Login service in the board-game API

A Login action validates LoginDTO, finds the user by name, checks the password, and returns a JWT for a successful authentication. SignInManager belongs to this authentication boundary, although the supplied implementation excerpt does not show a direct SignInManager call. section 9.2.6

How Building Web APIs with ASP.NET Core covers it

How deep it goes
Defines its login role and injection point, but does not show a direct SignInManager call in the supplied login implementation.
Examples
Uses AccountController registration and login endpoints, LoginDTO validation, password checking, and JWT response generation.
What you can do after
Apply it via dependency injection when structuring an ASP.NET Core Identity login endpoint.
How it connects
Connects ASP.NET Core Identity, AccountController, UserManager, dependency injection, and JWT authentication.

Also explained in

Compare how 2 books explain SignInManager<T> →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Web APIs with ASP.NET Core. The section links point to the parts of the book it draws on.