IdentityBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper functions for configuring identity services.
public ref class IdentityBuilderExtensions abstract sealed
public static class IdentityBuilderExtensions
type IdentityBuilderExtensions = class
Public Module IdentityBuilderExtensions
- Inheritance
-
IdentityBuilderExtensions
Methods
AddApiEndpoints(IdentityBuilder) |
Adds configuration and services needed to support MapIdentityApi<TUser>(IEndpointRouteBuilder) but does not configure authentication. Call AddBearerToken(AuthenticationBuilder, Action<BearerTokenOptions>) and/or AddIdentityCookies(AuthenticationBuilder) to configure authentication separately. |
AddDefaultTokenProviders(IdentityBuilder) |
Adds the default token providers used to generate tokens for reset passwords, change email and change telephone number operations, and for two factor authentication token generation. |
AddSignInManager(IdentityBuilder) |
Adds a SignInManager<TUser> for the UserType. |
AddSignInManager<TSignInManager>(IdentityBuilder) |
Adds a SignInManager<TUser> for the UserType. |